#9D212F#9D212F

#9D212F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.159 H 20.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D212F
RGBrgb(157, 33, 47)
HSLhsl(353, 65%, 37%)
HSVhsv(353, 79%, 62%)
CMYKcmyk(0%, 79%, 70.1%, 38.4%)
CIE-LABlab(34.93, 50.46, 24.01)
CIE-LCHlch(34.93, 55.88, 25.45°)
OKLaboklab(45.87% 0.1487 0.0559)
OKLCHoklch(45.87% 0.159 20.6)
XYZxyz(14.9633, 8.4634, 3.5345)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D212F #219D8F
analogous
#9D216D #9D212F #9D5121
triadic
#9D212F #2F9D21 #212F9D
tetradic
#9D212F #6D9D21 #219D8F #51219D
square
#9D212F #6D9D21 #219D8F #51219D
split-complementary
#9D212F #219D51 #216D9D
monochromatic
#380C11 #6A1620 #9D212F #D02C3E #DD5C6A

Accessibility & contrast

On white

7.80
#9D212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D212F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D212F#FFFFFF#000000##FFFFFF
##9D212F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412E
Deuteranopia (green-blind)
#655C2B
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d212f;
/* rgb */ color: rgb(157, 33, 47);
/* oklch */ color: oklch(45.9% 0.159 20.6);
Tailwind
colors: {
  custom: {
    50: '#c26867',
    500: '#9d212f',
    950: '#000000',
  },
}
SCSS
$custom: #9d212f;
$custom-light: #c26867;
$custom-dark: #000000;
JSON
{
  "hex": "#9d212f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 353.226,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.15883,
    "h": 20.6
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#9D212F
secondary
#59C1B5
accent
#E8D540
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D212F

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

Preview Lab → · Contrast checker → · Palette generator →

#9D212F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva