#7F212D#7F212D

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

Color values

HEX#7F212D
RGBrgb(127, 33, 45)
HSLhsl(352, 59%, 31%)
HSVhsv(352, 74%, 50%)
CMYKcmyk(0%, 74%, 64.6%, 50.2%)
CIE-LABlab(28.88, 40.79, 16.40)
CIE-LCHlch(28.88, 43.96, 21.91°)
OKLaboklab(40.28% 0.1215 0.0396)
OKLCHoklch(40.28% 0.128 18.1)
XYZxyz(9.7709, 5.7906, 3.0853)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F212D #217F73
analogous
#7F215C #7F212D #7F4421
triadic
#7F212D #2D7F21 #212D7F
tetradic
#7F212D #5C7F21 #217F73 #44217F
square
#7F212D #5C7F21 #217F73 #44217F
split-complementary
#7F212D #217F44 #215C7F
monochromatic
#1E080B #4E141C #7F212D #B02E3E #D04A5B

Accessibility & contrast

On white

9.73
#7F212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F212D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F212D#FFFFFF#000000##FFFFFF
##7F212D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f212d;
/* rgb */ color: rgb(127, 33, 45);
/* oklch */ color: oklch(40.3% 0.128 18.1);
Tailwind
colors: {
  custom: {
    50: '#aa6465',
    500: '#7f212d',
    950: '#000000',
  },
}
SCSS
$custom: #7f212d;
$custom-light: #aa6465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f212d",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 352.34,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.12778,
    "h": 18.1
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#7F212D
secondary
#4AB2A4
accent
#E2CE46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F212D

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

Preview Lab → · Contrast checker → · Palette generator →

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