#7F2F17#7F2F17

#7F2F17 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.117 H 36.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F2F17
RGBrgb(127, 47, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 82%, 50%)
CMYKcmyk(0%, 63%, 81.9%, 50.2%)
CIE-LABlab(30.90, 33.30, 32.25)
CIE-LCHlch(30.90, 46.36, 44.08°)
OKLaboklab(41.69% 0.0933 0.0701)
OKLCHoklch(41.69% 0.117 36.9)
XYZxyz(9.9246, 6.6083, 1.5634)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F17 #17677F
analogous
#7F1733 #7F2F17 #7F6317
triadic
#7F2F17 #177F2F #2F177F
tetradic
#7F2F17 #337F17 #17677F #63177F
square
#7F2F17 #337F17 #17677F #63177F
split-complementary
#7F2F17 #177F63 #17337F
monochromatic
#1A0A05 #4B1C0E #7F2F17 #B34220 #DB5C36

Accessibility & contrast

On white

9.05
#7F2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F17
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F17#FFFFFF#000000##FFFFFF
##7F2F171.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#594F14
Tritanopia (blue-blind)
#8C1B2A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f17;
/* rgb */ color: rgb(127, 47, 23);
/* oklch */ color: oklch(41.7% 0.117 36.9);
Tailwind
colors: {
  custom: {
    50: '#ab6b56',
    500: '#7f2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f17;
$custom-light: #ab6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f17",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 13.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4169,
    "c": 0.11672,
    "h": 36.9
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#7F2F17
secondary
#3E98B4
accent
#C3EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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