#9D212E#9D212E

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

Color values

HEX#9D212E
RGBrgb(157, 33, 46)
HSLhsl(354, 65%, 37%)
HSVhsv(354, 79%, 62%)
CMYKcmyk(0%, 79%, 70.7%, 38.4%)
CIE-LABlab(34.91, 50.40, 24.62)
CIE-LCHlch(34.91, 56.10, 26.03°)
OKLaboklab(45.85% 0.1483 0.0571)
OKLCHoklch(45.85% 0.159 21.1)
XYZxyz(14.9433, 8.4554, 3.4295)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D212E #219D90
analogous
#9D216C #9D212E #9D5221
triadic
#9D212E #2E9D21 #212E9D
tetradic
#9D212E #6C9D21 #219D90 #52219D
square
#9D212E #6C9D21 #219D90 #52219D
split-complementary
#9D212E #219D52 #216C9D
monochromatic
#380C10 #6A161F #9D212E #D02C3D #DD5C69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D212E#FFFFFF#000000##FFFFFF
##9D212E1.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)
#46412D
Deuteranopia (green-blind)
#655C2A
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d212e;
/* rgb */ color: rgb(157, 33, 46);
/* oklch */ color: oklch(45.9% 0.159 21.1);
Tailwind
colors: {
  custom: {
    50: '#c26866',
    500: '#9d212e',
    950: '#000000',
  },
}
SCSS
$custom: #9d212e;
$custom-light: #c26866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d212e",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 353.71,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45852,
    "c": 0.15889,
    "h": 21.1
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#9D212E
secondary
#59C1B6
accent
#E8D740
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D212E

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

Preview Lab → · Contrast checker → · Palette generator →

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