#7F212E#7F212E

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

Color values

HEX#7F212E
RGBrgb(127, 33, 46)
HSLhsl(352, 59%, 31%)
HSVhsv(352, 74%, 50%)
CMYKcmyk(0%, 74%, 63.8%, 50.2%)
CIE-LABlab(28.90, 40.86, 15.77)
CIE-LCHlch(28.90, 43.79, 21.10°)
OKLaboklab(40.3% 0.1219 0.0383)
OKLCHoklch(40.3% 0.128 17.4)
XYZxyz(9.7904, 5.7984, 3.1879)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F212E #217F72
analogous
#7F215D #7F212E #7F4321
triadic
#7F212E #2E7F21 #212E7F
tetradic
#7F212E #5D7F21 #217F72 #43217F
square
#7F212E #5D7F21 #217F72 #43217F
split-complementary
#7F212E #217F43 #215D7F
monochromatic
#1E080B #4E141C #7F212E #B02E40 #D04A5D

Accessibility & contrast

On white

9.72
#7F212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F212E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F212E#FFFFFF#000000##FFFFFF
##7F212E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A382E
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#8C0526
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f212e;
/* rgb */ color: rgb(127, 33, 46);
/* oklch */ color: oklch(40.3% 0.128 17.4);
Tailwind
colors: {
  custom: {
    50: '#aa6466',
    500: '#7f212e',
    950: '#000000',
  },
}
SCSS
$custom: #7f212e;
$custom-light: #aa6466;
$custom-dark: #000000;
JSON
{
  "hex": "#7f212e",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 351.702,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40297,
    "c": 0.12777,
    "h": 17.4
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#7F212E
secondary
#4AB2A3
accent
#E2CC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F212E

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

Preview Lab → · Contrast checker → · Palette generator →

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