#9D1E3E#9D1E3E

#9D1E3E is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 12.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9D1E3E
RGBrgb(157, 30, 62)
HSLhsl(345, 68%, 37%)
HSVhsv(345, 81%, 62%)
CMYKcmyk(0%, 80.9%, 60.5%, 38.4%)
CIE-LABlab(34.90, 52.25, 14.34)
CIE-LCHlch(34.90, 54.19, 15.35°)
OKLaboklab(45.94% 0.1576 0.0354)
OKLCHoklch(45.94% 0.162 12.7)
XYZxyz(15.2400, 8.4467, 5.3844)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E3E #1E9D7D
analogous
#9D1E7E #9D1E3E #9D3E1E
triadic
#9D1E3E #3E9D1E #1E3E9D
tetradic
#9D1E3E #7E9D1E #1E9D7D #3E1E9D
square
#9D1E3E #7E9D1E #1E9D7D #3E1E9D
split-complementary
#9D1E3E #1E9D3E #1E7E9D
monochromatic
#360A15 #6A142A #9D1E3E #D02852 #DF5779

Accessibility & contrast

On white

7.81
#9D1E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E3E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E3E#FFFFFF#000000##FFFFFF
##9D1E3E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#635B3B
Tritanopia (blue-blind)
#AC002C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1e3e;
/* rgb */ color: rgb(157, 30, 62);
/* oklch */ color: oklch(45.9% 0.162 12.7);
Tailwind
colors: {
  custom: {
    50: '#c16872',
    500: '#9d1e3e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e3e;
$custom-light: #c16872;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e3e",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 62
  },
  "hsl": {
    "h": 344.882,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.16152,
    "h": 12.7
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#9D1E3E
secondary
#54C2A7
accent
#EBBF3D
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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