#7F2115#7F2115

#7F2115 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.131 H 30.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F2115
RGBrgb(127, 33, 21)
HSLhsl(7, 72%, 29%)
HSVhsv(7, 83%, 50%)
CMYKcmyk(0%, 74%, 83.5%, 50.2%)
CIE-LABlab(28.53, 39.57, 31.01)
CIE-LCHlch(28.53, 50.27, 38.08°)
OKLaboklab(39.9% 0.1123 0.0668)
OKLCHoklch(39.9% 0.131 30.7)
XYZxyz(9.4327, 5.6553, 1.3042)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2115 #15737F
analogous
#7F153E #7F2115 #7F5615
triadic
#7F2115 #157F21 #21157F
tetradic
#7F2115 #3E7F15 #15737F #56157F
square
#7F2115 #3E7F15 #15737F #56157F
split-complementary
#7F2115 #157F56 #153E7F
monochromatic
#1A0704 #4A130C #7F2115 #B42F1E #DD4531

Accessibility & contrast

On white

9.86
#7F2115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F2115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2115
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2115#FFFFFF#000000##FFFFFF
##7F21151.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3613
Deuteranopia (green-blind)
#544B11
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2115;
/* rgb */ color: rgb(127, 33, 21);
/* oklch */ color: oklch(39.9% 0.131 30.7);
Tailwind
colors: {
  custom: {
    50: '#ac6353',
    500: '#7f2115',
    950: '#000000',
  },
}
SCSS
$custom: #7f2115;
$custom-light: #ac6353;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2115",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 21
  },
  "hsl": {
    "h": 6.792,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.399,
    "c": 0.13067,
    "h": 30.7
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#7F2115
secondary
#3CA6B4
accent
#DAEE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2115

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

Preview Lab → · Contrast checker → · Palette generator →

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