#7F2A17#7F2A17

#7F2A17 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.122 H 34.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F2A17
RGBrgb(127, 42, 23)
HSLhsl(11, 69%, 29%)
HSVhsv(11, 82%, 50%)
CMYKcmyk(0%, 66.9%, 81.9%, 50.2%)
CIE-LABlab(29.99, 35.72, 31.34)
CIE-LCHlch(29.99, 47.52, 41.26°)
OKLaboklab(41% 0.1008 0.0682)
OKLCHoklch(41% 0.122 34.1)
XYZxyz(9.7361, 6.2312, 1.5005)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A17 #176C7F
analogous
#7F1738 #7F2A17 #7F5E17
triadic
#7F2A17 #177F2A #2A177F
tetradic
#7F2A17 #387F17 #176C7F #5E177F
square
#7F2A17 #387F17 #176C7F #5E177F
split-complementary
#7F2A17 #177F5E #17387F
monochromatic
#1A0905 #4B190E #7F2A17 #B33B20 #DB5436

Accessibility & contrast

On white

9.35
#7F2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A17
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A17#FFFFFF#000000##FFFFFF
##7F2A171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B14
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#8C1226
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a17;
/* rgb */ color: rgb(127, 42, 23);
/* oklch */ color: oklch(41.0% 0.122 34.1);
Tailwind
colors: {
  custom: {
    50: '#ab6855',
    500: '#7f2a17',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a17;
$custom-light: #ab6855;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a17",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 10.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.12167,
    "h": 34.1
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#7F2A17
secondary
#3E9EB4
accent
#CCEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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