#7F2012#7F2012

#7F2012 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.132 H 31.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7F2012
RGBrgb(127, 32, 18)
HSLhsl(8, 75%, 28%)
HSVhsv(8, 86%, 50%)
CMYKcmyk(0%, 74.8%, 85.8%, 50.2%)
CIE-LABlab(28.35, 39.87, 32.50)
CIE-LCHlch(28.35, 51.44, 39.18°)
OKLaboklab(39.76% 0.1127 0.0689)
OKLCHoklch(39.76% 0.132 31.4)
XYZxyz(9.3792, 5.5902, 1.1573)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2012 #12717F
analogous
#7F123B #7F2012 #7F5612
triadic
#7F2012 #127F20 #20127F
tetradic
#7F2012 #3B7F12 #12717F #56127F
square
#7F2012 #3B7F12 #12717F #56127F
split-complementary
#7F2012 #127F56 #123B7F
monochromatic
#1B0704 #49120A #7F2012 #B52E1A #E1422B

Accessibility & contrast

On white

9.92
#7F2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2012
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2012#FFFFFF#000000##FFFFFF
##7F20121.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#544B0D
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2012;
/* rgb */ color: rgb(127, 32, 18);
/* oklch */ color: oklch(39.8% 0.132 31.4);
Tailwind
colors: {
  custom: {
    50: '#ac6351',
    500: '#7f2012',
    950: '#000000',
  },
}
SCSS
$custom: #7f2012;
$custom-light: #ac6351;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2012",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 7.706,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.13207,
    "h": 31.4
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#7F2012
secondary
#38A5B5
accent
#DAF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2012

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

Preview Lab → · Contrast checker → · Palette generator →

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