#7F2A18#7F2A18

#7F2A18 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.121 H 33.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F2A18
RGBrgb(127, 42, 24)
HSLhsl(10, 68%, 30%)
HSVhsv(10, 81%, 50%)
CMYKcmyk(0%, 66.9%, 81.1%, 50.2%)
CIE-LABlab(30.00, 35.76, 30.79)
CIE-LCHlch(30.00, 47.19, 40.73°)
OKLaboklab(41.02% 0.1011 0.0673)
OKLCHoklch(41.02% 0.121 33.6)
XYZxyz(9.7463, 6.2353, 1.5543)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A18 #186D7F
analogous
#7F183A #7F2A18 #7F5D18
triadic
#7F2A18 #187F2A #2A187F
tetradic
#7F2A18 #3A7F18 #186D7F #5D187F
square
#7F2A18 #3A7F18 #186D7F #5D187F
split-complementary
#7F2A18 #187F5D #183A7F
monochromatic
#1A0905 #4C190E #7F2A18 #B23B22 #D95438

Accessibility & contrast

On white

9.35
#7F2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F2A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A18
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A18#FFFFFF#000000##FFFFFF
##7F2A181.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B15
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#8C1226
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a18;
/* rgb */ color: rgb(127, 42, 24);
/* oklch */ color: oklch(41.0% 0.121 33.6);
Tailwind
colors: {
  custom: {
    50: '#ab6856',
    500: '#7f2a18',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a18;
$custom-light: #ab6856;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a18",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 10.485,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.12144,
    "h": 33.6
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#7F2A18
secondary
#3F9FB3
accent
#CDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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