#7F2121#7F2121

#7F2121 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 25.1°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7F2121
RGBrgb(127, 33, 33)
HSLhsl(0, 59%, 31%)
HSVhsv(0, 74%, 50%)
CMYKcmyk(0%, 74%, 74%, 50.2%)
CIE-LABlab(28.67, 40.08, 23.93)
CIE-LCHlch(28.67, 46.67, 30.84°)
OKLaboklab(40.06% 0.1166 0.0547)
OKLCHoklch(40.06% 0.129 25.1)
XYZxyz(9.5718, 5.7110, 2.0369)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2121 #217F7F
analogous
#7F2150 #7F2121 #7F5021
triadic
#7F2121 #217F21 #21217F
tetradic
#7F2121 #507F21 #217F7F #50217F
square
#7F2121 #507F21 #217F7F #50217F
split-complementary
#7F2121 #217F50 #21507F
monochromatic
#1E0808 #4E1414 #7F2121 #B02E2E #D04A4A

Accessibility & contrast

On white

9.80
#7F2121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2121
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2121#FFFFFF#000000##FFFFFF
##7F21211.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2121;
/* rgb */ color: rgb(127, 33, 33);
/* oklch */ color: oklch(40.1% 0.129 25.1);
Tailwind
colors: {
  custom: {
    50: '#ab645c',
    500: '#7f2121',
    950: '#000000',
  },
}
SCSS
$custom: #7f2121;
$custom-light: #ab645c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2121",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40055,
    "c": 0.12877,
    "h": 25.1
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#7F2121
secondary
#4AB2B2
accent
#E2E246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2121

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

Preview Lab → · Contrast checker → · Palette generator →

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