#7F2F15#7F2F15

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

Color values

HEX#7F2F15
RGBrgb(127, 47, 21)
HSLhsl(15, 72%, 29%)
HSVhsv(15, 83%, 50%)
CMYKcmyk(0%, 63%, 83.5%, 50.2%)
CIE-LABlab(30.88, 33.23, 33.29)
CIE-LCHlch(30.88, 47.04, 45.06°)
OKLaboklab(41.67% 0.0927 0.0718)
OKLCHoklch(41.67% 0.117 37.7)
XYZxyz(9.9054, 6.6006, 1.4618)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F15 #15657F
analogous
#7F1530 #7F2F15 #7F6415
triadic
#7F2F15 #157F2F #2F157F
tetradic
#7F2F15 #307F15 #15657F #64157F
square
#7F2F15 #307F15 #15657F #64157F
split-complementary
#7F2F15 #157F64 #15307F
monochromatic
#1A0A04 #4A1C0C #7F2F15 #B4421E #DD5B31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2F15#FFFFFF#000000##FFFFFF
##7F2F151.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)
#463D11
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#8C1B2A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f15;
/* rgb */ color: rgb(127, 47, 21);
/* oklch */ color: oklch(41.7% 0.117 37.7);
Tailwind
colors: {
  custom: {
    50: '#ab6b54',
    500: '#7f2f15',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f15;
$custom-light: #ab6b54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f15",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 21
  },
  "hsl": {
    "h": 14.717,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.11724,
    "h": 37.7
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#7F2F15
secondary
#3C97B4
accent
#C2EE39
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2F15

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

Preview Lab → · Contrast checker → · Palette generator →

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