#7F2029#7F2029

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

Color values

HEX#7F2029
RGBrgb(127, 32, 41)
HSLhsl(354, 60%, 31%)
HSVhsv(354, 75%, 50%)
CMYKcmyk(0%, 74.8%, 67.7%, 50.2%)
CIE-LABlab(28.66, 40.92, 18.75)
CIE-LCHlch(28.66, 45.01, 24.62°)
OKLaboklab(40.09% 0.1211 0.0445)
OKLCHoklch(40.09% 0.129 20.2)
XYZxyz(9.6702, 5.7066, 2.6897)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2029 #207F76
analogous
#7F2058 #7F2029 #7F4620
triadic
#7F2029 #297F20 #20297F
tetradic
#7F2029 #587F20 #207F76 #46207F
square
#7F2029 #587F20 #207F76 #46207F
split-complementary
#7F2029 #207F46 #20587F
monochromatic
#1D0709 #4E1419 #7F2029 #B02C39 #D14855

Accessibility & contrast

On white

9.81
#7F2029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2029
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2029#FFFFFF#000000##FFFFFF
##7F20291.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3729
Deuteranopia (green-blind)
#524B26
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2029;
/* rgb */ color: rgb(127, 32, 41);
/* oklch */ color: oklch(40.1% 0.129 20.2);
Tailwind
colors: {
  custom: {
    50: '#ab6362',
    500: '#7f2029',
    950: '#000000',
  },
}
SCSS
$custom: #7f2029;
$custom-light: #ab6362;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2029",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 41
  },
  "hsl": {
    "h": 354.316,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.12899,
    "h": 20.2
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#7F2029
secondary
#49B2A8
accent
#E3D445
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2029

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

Preview Lab → · Contrast checker → · Palette generator →

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