#7F1C2F#7F1C2F

#7F1C2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.8% C 0.133 H 15.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7F1C2F
RGBrgb(127, 28, 47)
HSLhsl(348, 64%, 30%)
HSVhsv(348, 78%, 50%)
CMYKcmyk(0%, 78%, 63%, 50.2%)
CIE-LABlab(28.25, 42.80, 14.24)
CIE-LCHlch(28.25, 45.11, 18.41°)
OKLaboklab(39.82% 0.1283 0.0348)
OKLCHoklch(39.82% 0.133 15.2)
XYZxyz(9.6817, 5.5492, 3.2501)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C2F #1C7F6C
analogous
#7F1C60 #7F1C2F #7F3A1C
triadic
#7F1C2F #2F7F1C #1C2F7F
tetradic
#7F1C2F #607F1C #1C7F6C #3A1C7F
square
#7F1C2F #607F1C #1C7F6C #3A1C7F
split-complementary
#7F1C2F #1C7F3A #1C607F
monochromatic
#1B060A #4D111C #7F1C2F #B12742 #D5405D

Accessibility & contrast

On white

9.95
#7F1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C2F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C2F#FFFFFF#000000##FFFFFF
##7F1C2F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1c2f;
/* rgb */ color: rgb(127, 28, 47);
/* oklch */ color: oklch(39.8% 0.133 15.2);
Tailwind
colors: {
  custom: {
    50: '#aa6267',
    500: '#7f1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c2f;
$custom-light: #aa6267;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c2f",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 348.485,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.13297,
    "h": 15.2
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#7F1C2F
secondary
#44B39D
accent
#E7C741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1C2F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7F1C2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva