#7F2A13#7F2A13

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

Color values

HEX#7F2A13
RGBrgb(127, 42, 19)
HSLhsl(13, 74%, 29%)
HSVhsv(13, 85%, 50%)
CMYKcmyk(0%, 66.9%, 85%, 50.2%)
CIE-LABlab(29.95, 35.58, 33.46)
CIE-LCHlch(29.95, 48.84, 43.24°)
OKLaboklab(40.97% 0.0996 0.0714)
OKLCHoklch(40.97% 0.123 35.6)
XYZxyz(9.6990, 6.2164, 1.3051)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A13 #13687F
analogous
#7F1332 #7F2A13 #7F6013
triadic
#7F2A13 #137F2A #2A137F
tetradic
#7F2A13 #327F13 #13687F #60137F
square
#7F2A13 #327F13 #13687F #60137F
split-complementary
#7F2A13 #137F60 #13327F
monochromatic
#1B0904 #4A180B #7F2A13 #B43C1B #E0532D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2A13#FFFFFF#000000##FFFFFF
##7F2A131.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)
#433B0F
Deuteranopia (green-blind)
#574E0F
Tritanopia (blue-blind)
#8C1226
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a13;
/* rgb */ color: rgb(127, 42, 19);
/* oklch */ color: oklch(41.0% 0.123 35.6);
Tailwind
colors: {
  custom: {
    50: '#ac6853',
    500: '#7f2a13',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a13;
$custom-light: #ac6853;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a13",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 19
  },
  "hsl": {
    "h": 12.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.12254,
    "h": 35.6
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#7F2A13
secondary
#399AB4
accent
#C9F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2A13

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

Preview Lab → · Contrast checker → · Palette generator →

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