#7F2317#7F2317

#7F2317 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.128 H 30.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7F2317
RGBrgb(127, 35, 23)
HSLhsl(7, 69%, 29%)
HSVhsv(7, 82%, 50%)
CMYKcmyk(0%, 72.4%, 81.9%, 50.2%)
CIE-LABlab(28.84, 38.82, 30.19)
CIE-LCHlch(28.84, 49.18, 37.87°)
OKLaboklab(40.14% 0.1104 0.0657)
OKLCHoklch(40.14% 0.128 30.7)
XYZxyz(9.5092, 5.7774, 1.4249)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2317 #17737F
analogous
#7F173F #7F2317 #7F5717
triadic
#7F2317 #177F23 #23177F
tetradic
#7F2317 #3F7F17 #17737F #57177F
square
#7F2317 #3F7F17 #17737F #57177F
split-complementary
#7F2317 #177F57 #173F7F
monochromatic
#1A0705 #4B150E #7F2317 #B33120 #DB4936

Accessibility & contrast

On white

9.74
#7F2317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F2317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2317
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2317#FFFFFF#000000##FFFFFF
##7F23171.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#554B13
Tritanopia (blue-blind)
#8C0121
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2317;
/* rgb */ color: rgb(127, 35, 23);
/* oklch */ color: oklch(40.1% 0.128 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6455',
    500: '#7f2317',
    950: '#000000',
  },
}
SCSS
$custom: #7f2317;
$custom-light: #ac6455;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2317",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 6.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.12846,
    "h": 30.7
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#7F2317
secondary
#3EA6B4
accent
#D8EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2317

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

Preview Lab → · Contrast checker → · Palette generator →

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