#9D1E40#9D1E40

#9D1E40 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.162 H 11.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1E40
RGBrgb(157, 30, 64)
HSLhsl(344, 68%, 37%)
HSVhsv(344, 81%, 62%)
CMYKcmyk(0%, 80.9%, 59.2%, 38.4%)
CIE-LABlab(34.94, 52.39, 13.11)
CIE-LCHlch(34.94, 54.01, 14.04°)
OKLaboklab(45.98% 0.1584 0.0326)
OKLCHoklch(45.98% 0.162 11.6)
XYZxyz(15.2959, 8.4691, 5.6788)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E40 #1E9D7B
analogous
#9D1E80 #9D1E40 #9D3C1E
triadic
#9D1E40 #409D1E #1E409D
tetradic
#9D1E40 #809D1E #1E9D7B #3C1E9D
square
#9D1E40 #809D1E #1E9D7B #3C1E9D
split-complementary
#9D1E40 #1E9D3C #1E809D
monochromatic
#360A16 #6A142B #9D1E40 #D02855 #DF577B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1E40#FFFFFF#000000##FFFFFF
##9D1E401.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)
#424240
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#AC002D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1e40;
/* rgb */ color: rgb(157, 30, 64);
/* oklch */ color: oklch(46.0% 0.162 11.6);
Tailwind
colors: {
  custom: {
    50: '#c16874',
    500: '#9d1e40',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e40;
$custom-light: #c16874;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e40",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 343.937,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.16172,
    "h": 11.6
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#9D1E40
secondary
#54C2A5
accent
#EBBC3D
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9D1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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