#7F2B15#7F2B15

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

Color values

HEX#7F2B15
RGBrgb(127, 43, 21)
HSLhsl(12, 72%, 29%)
HSVhsv(12, 83%, 50%)
CMYKcmyk(0%, 66.1%, 83.5%, 50.2%)
CIE-LABlab(30.15, 35.18, 32.59)
CIE-LCHlch(30.15, 47.95, 42.81°)
OKLaboklab(41.12% 0.0987 0.0702)
OKLCHoklch(41.12% 0.121 35.4)
XYZxyz(9.7527, 6.2953, 1.4109)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B15 #15697F
analogous
#7F1534 #7F2B15 #7F6015
triadic
#7F2B15 #157F2B #2B157F
tetradic
#7F2B15 #347F15 #15697F #60157F
square
#7F2B15 #347F15 #15697F #60157F
split-complementary
#7F2B15 #157F60 #15347F
monochromatic
#1A0904 #4A190C #7F2B15 #B43D1E #DD5531

Accessibility & contrast

On white

9.30
#7F2B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2B15
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B15#FFFFFF#000000##FFFFFF
##7F2B151.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2b15;
/* rgb */ color: rgb(127, 43, 21);
/* oklch */ color: oklch(41.1% 0.121 35.4);
Tailwind
colors: {
  custom: {
    50: '#ab6854',
    500: '#7f2b15',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b15;
$custom-light: #ab6854;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b15",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 21
  },
  "hsl": {
    "h": 12.453,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41116,
    "c": 0.12113,
    "h": 35.4
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#7F2B15
secondary
#3C9BB4
accent
#C9EE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B15

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

Preview Lab → · Contrast checker → · Palette generator →

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