#7F2A12#7F2A12

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

Color values

HEX#7F2A12
RGBrgb(127, 42, 18)
HSLhsl(13, 75%, 28%)
HSVhsv(13, 86%, 50%)
CMYKcmyk(0%, 66.9%, 85.8%, 50.2%)
CIE-LABlab(29.94, 35.55, 33.96)
CIE-LCHlch(29.94, 49.17, 43.69°)
OKLaboklab(40.96% 0.0993 0.0722)
OKLCHoklch(40.96% 0.123 36)
XYZxyz(9.6906, 6.2130, 1.2611)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A12 #12677F
analogous
#7F1230 #7F2A12 #7F6012
triadic
#7F2A12 #127F2A #2A127F
tetradic
#7F2A12 #307F12 #12677F #60127F
square
#7F2A12 #307F12 #12677F #60127F
split-complementary
#7F2A12 #127F60 #12307F
monochromatic
#1B0904 #49180A #7F2A12 #B53C1A #E1532B

Accessibility & contrast

On white

9.36
#7F2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A12
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A12#FFFFFF#000000##FFFFFF
##7F2A121.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8C1125
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2a12;
/* rgb */ color: rgb(127, 42, 18);
/* oklch */ color: oklch(41.0% 0.123 36.0);
Tailwind
colors: {
  custom: {
    50: '#ac6852',
    500: '#7f2a12',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a12;
$custom-light: #ac6852;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a12",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 13.211,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.12275,
    "h": 36
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#7F2A12
secondary
#3899B5
accent
#C8F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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