#7F211C#7F211C

#7F211C is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.130 H 27.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7F211C
RGBrgb(127, 33, 28)
HSLhsl(3, 64%, 30%)
HSVhsv(3, 78%, 50%)
CMYKcmyk(0%, 74%, 78%, 50.2%)
CIE-LABlab(28.60, 39.84, 26.96)
CIE-LCHlch(28.60, 48.11, 34.09°)
OKLaboklab(39.98% 0.1147 0.0601)
OKLCHoklch(39.98% 0.13 27.7)
XYZxyz(9.5069, 5.6850, 1.6951)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F211C #1C7A7F
analogous
#7F1C49 #7F211C #7F521C
triadic
#7F211C #1C7F21 #211C7F
tetradic
#7F211C #497F1C #1C7A7F #521C7F
square
#7F211C #497F1C #1C7A7F #521C7F
split-complementary
#7F211C #1C7F52 #1C497F
monochromatic
#1B0706 #4D1411 #7F211C #B12E27 #D54840

Accessibility & contrast

On white

9.83
#7F211C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F211C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F211C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F211C#FFFFFF#000000##FFFFFF
##7F211C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D361B
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f211c;
/* rgb */ color: rgb(127, 33, 28);
/* oklch */ color: oklch(40.0% 0.130 27.7);
Tailwind
colors: {
  custom: {
    50: '#ac6358',
    500: '#7f211c',
    950: '#000000',
  },
}
SCSS
$custom: #7f211c;
$custom-light: #ac6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7f211c",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 28
  },
  "hsl": {
    "h": 3.03,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39983,
    "c": 0.1295,
    "h": 27.7
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#7F211C
secondary
#44ADB3
accent
#DFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F211C

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

Preview Lab → · Contrast checker → · Palette generator →

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