#7F212C#7F212C

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

Color values

HEX#7F212C
RGBrgb(127, 33, 44)
HSLhsl(353, 59%, 31%)
HSVhsv(353, 74%, 50%)
CMYKcmyk(0%, 74%, 65.4%, 50.2%)
CIE-LABlab(28.86, 40.72, 17.04)
CIE-LCHlch(28.86, 44.14, 22.70°)
OKLaboklab(40.26% 0.1211 0.041)
OKLCHoklch(40.26% 0.128 18.7)
XYZxyz(9.7519, 5.7830, 2.9851)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F212C #217F74
analogous
#7F215B #7F212C #7F4521
triadic
#7F212C #2C7F21 #212C7F
tetradic
#7F212C #5B7F21 #217F74 #45217F
square
#7F212C #5B7F21 #217F74 #45217F
split-complementary
#7F212C #217F45 #215B7F
monochromatic
#1E080A #4E141B #7F212C #B02E3D #D04A5A

Accessibility & contrast

On white

9.74
#7F212C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F212C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F212C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F212C#FFFFFF#000000##FFFFFF
##7F212C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B372C
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#8C0426
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f212c;
/* rgb */ color: rgb(127, 33, 44);
/* oklch */ color: oklch(40.3% 0.128 18.7);
Tailwind
colors: {
  custom: {
    50: '#aa6465',
    500: '#7f212c',
    950: '#000000',
  },
}
SCSS
$custom: #7f212c;
$custom-light: #aa6465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f212c",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 352.979,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.12781,
    "h": 18.7
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#7F212C
secondary
#4AB2A6
accent
#E2D046
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F212C

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

Preview Lab → · Contrast checker → · Palette generator →

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