#7F2E15#7F2E15

#7F2E15 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.118 H 37.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2E15
RGBrgb(127, 46, 21)
HSLhsl(14, 72%, 29%)
HSVhsv(14, 83%, 50%)
CMYKcmyk(0%, 63.8%, 83.5%, 50.2%)
CIE-LABlab(30.69, 33.72, 33.11)
CIE-LCHlch(30.69, 47.26, 44.48°)
OKLaboklab(41.53% 0.0942 0.0714)
OKLCHoklch(41.53% 0.118 37.1)
XYZxyz(9.8658, 6.5216, 1.4486)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E15 #15667F
analogous
#7F1531 #7F2E15 #7F6315
triadic
#7F2E15 #157F2E #2E157F
tetradic
#7F2E15 #317F15 #15667F #63157F
square
#7F2E15 #317F15 #15667F #63157F
split-complementary
#7F2E15 #157F63 #15317F
monochromatic
#1A0A04 #4A1B0C #7F2E15 #B4411E #DD5A31

Accessibility & contrast

On white

9.11
#7F2E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E15
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E15#FFFFFF#000000##FFFFFF
##7F2E151.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D11
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#8C1929
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e15;
/* rgb */ color: rgb(127, 46, 21);
/* oklch */ color: oklch(41.5% 0.118 37.1);
Tailwind
colors: {
  custom: {
    50: '#ab6a54',
    500: '#7f2e15',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e15;
$custom-light: #ab6a54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e15",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 21
  },
  "hsl": {
    "h": 14.151,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41528,
    "c": 0.11821,
    "h": 37.1
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#7F2E15
secondary
#3C98B4
accent
#C4EE39
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E15

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

Preview Lab → · Contrast checker → · Palette generator →

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