#7F2B17#7F2B17

#7F2B17 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.1% C 0.121 H 34.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7F2B17
RGBrgb(127, 43, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 82%, 50%)
CMYKcmyk(0%, 66.1%, 81.9%, 50.2%)
CIE-LABlab(30.16, 35.25, 31.52)
CIE-LCHlch(30.16, 47.28, 41.80°)
OKLaboklab(41.14% 0.0993 0.0686)
OKLCHoklch(41.14% 0.121 34.6)
XYZxyz(9.7720, 6.3031, 1.5125)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B17 #176B7F
analogous
#7F1737 #7F2B17 #7F5F17
triadic
#7F2B17 #177F2B #2B177F
tetradic
#7F2B17 #377F17 #176B7F #5F177F
square
#7F2B17 #377F17 #176B7F #5F177F
split-complementary
#7F2B17 #177F5F #17377F
monochromatic
#1A0905 #4B190E #7F2B17 #B33D20 #DB5636

Accessibility & contrast

On white

9.29
#7F2B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F2B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B17#FFFFFF#000000##FFFFFF
##7F2B171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#8C1427
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2b17;
/* rgb */ color: rgb(127, 43, 23);
/* oklch */ color: oklch(41.1% 0.121 34.6);
Tailwind
colors: {
  custom: {
    50: '#ab6955',
    500: '#7f2b17',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b17;
$custom-light: #ab6955;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b17",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 11.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.12068,
    "h": 34.6
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#7F2B17
secondary
#3E9DB4
accent
#CAEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B17

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

Preview Lab → · Contrast checker → · Palette generator →

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