#7F2B18#7F2B18

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

Color values

HEX#7F2B18
RGBrgb(127, 43, 24)
HSLhsl(11, 68%, 30%)
HSVhsv(11, 81%, 50%)
CMYKcmyk(0%, 66.1%, 81.1%, 50.2%)
CIE-LABlab(30.17, 35.29, 30.97)
CIE-LCHlch(30.17, 46.95, 41.27°)
OKLaboklab(41.15% 0.0996 0.0677)
OKLCHoklch(41.15% 0.12 34.2)
XYZxyz(9.7822, 6.3071, 1.5663)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B18 #186C7F
analogous
#7F1839 #7F2B18 #7F5F18
triadic
#7F2B18 #187F2B #2B187F
tetradic
#7F2B18 #397F18 #186C7F #5F187F
square
#7F2B18 #397F18 #186C7F #5F187F
split-complementary
#7F2B18 #187F5F #18397F
monochromatic
#1A0905 #4C1A0E #7F2B18 #B23C22 #D95638

Accessibility & contrast

On white

9.29
#7F2B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2B18
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B18#FFFFFF#000000##FFFFFF
##7F2B181.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2b18;
/* rgb */ color: rgb(127, 43, 24);
/* oklch */ color: oklch(41.1% 0.120 34.2);
Tailwind
colors: {
  custom: {
    50: '#ab6956',
    500: '#7f2b18',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b18;
$custom-light: #ab6956;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b18",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 11.068,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.12044,
    "h": 34.2
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#7F2B18
secondary
#3F9EB3
accent
#CBEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2B18

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

Preview Lab → · Contrast checker → · Palette generator →

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