#7F2129#7F2129

#7F2129 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 20.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7F2129
RGBrgb(127, 33, 41)
HSLhsl(355, 59%, 31%)
HSVhsv(355, 74%, 50%)
CMYKcmyk(0%, 74%, 67.7%, 50.2%)
CIE-LABlab(28.80, 40.53, 18.93)
CIE-LCHlch(28.80, 44.73, 25.04°)
OKLaboklab(40.2% 0.1198 0.0449)
OKLCHoklch(40.2% 0.128 20.6)
XYZxyz(9.6975, 5.7613, 2.6988)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2129 #217F77
analogous
#7F2158 #7F2129 #7F4821
triadic
#7F2129 #297F21 #21297F
tetradic
#7F2129 #587F21 #217F77 #48217F
square
#7F2129 #587F21 #217F77 #48217F
split-complementary
#7F2129 #217F48 #21587F
monochromatic
#1E080A #4E1419 #7F2129 #B02E39 #D04A56

Accessibility & contrast

On white

9.76
#7F2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F2129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2129
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2129#FFFFFF#000000##FFFFFF
##7F21291.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#534B26
Tritanopia (blue-blind)
#8C0325
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2129;
/* rgb */ color: rgb(127, 33, 41);
/* oklch */ color: oklch(40.2% 0.128 20.6);
Tailwind
colors: {
  custom: {
    50: '#ab6462',
    500: '#7f2129',
    950: '#000000',
  },
}
SCSS
$custom: #7f2129;
$custom-light: #ab6462;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2129",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 354.894,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.12796,
    "h": 20.6
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#7F2129
secondary
#4AB2A9
accent
#E2D546
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2129

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

Preview Lab → · Contrast checker → · Palette generator →

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