#9D1E33#9D1E33

#9D1E33 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.161 H 18.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9D1E33
RGBrgb(157, 30, 51)
HSLhsl(350, 68%, 37%)
HSVhsv(350, 81%, 62%)
CMYKcmyk(0%, 80.9%, 67.5%, 38.4%)
CIE-LABlab(34.68, 51.57, 21.15)
CIE-LCHlch(34.68, 55.74, 22.30°)
OKLaboklab(45.7% 0.1531 0.0501)
OKLCHoklch(45.7% 0.161 18.1)
XYZxyz(14.9681, 8.3380, 3.9526)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E33 #1E9D88
analogous
#9D1E73 #9D1E33 #9D491E
triadic
#9D1E33 #339D1E #1E339D
tetradic
#9D1E33 #739D1E #1E9D88 #491E9D
square
#9D1E33 #739D1E #1E9D88 #491E9D
split-complementary
#9D1E33 #1E9D49 #1E739D
monochromatic
#360A12 #6A1422 #9D1E33 #D02844 #DF576D

Accessibility & contrast

On white

7.87
#9D1E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D1E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E33
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E33#FFFFFF#000000##FFFFFF
##9D1E331.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444133
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1e33;
/* rgb */ color: rgb(157, 30, 51);
/* oklch */ color: oklch(45.7% 0.161 18.1);
Tailwind
colors: {
  custom: {
    50: '#c2676a',
    500: '#9d1e33',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e33;
$custom-light: #c2676a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e33",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 350.079,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45704,
    "c": 0.16112,
    "h": 18.1
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#9D1E33
secondary
#54C2B0
accent
#EBCE3D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D1E33

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

Preview Lab → · Contrast checker → · Palette generator →

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