#9D1E6F#9D1E6F

#9D1E6F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.178 H 347.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9D1E6F
RGBrgb(157, 30, 111)
HSLhsl(322, 68%, 37%)
HSVhsv(322, 81%, 62%)
CMYKcmyk(0%, 80.9%, 29.3%, 38.4%)
CIE-LABlab(36.45, 56.93, -14.91)
CIE-LCHlch(36.45, 58.85, 345.32°)
OKLaboklab(47.58% 0.1736 -0.0394)
OKLCHoklch(47.58% 0.178 347.2)
XYZxyz(17.2390, 9.2463, 15.9127)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E6F #1E9D4C
analogous
#8C1E9D #9D1E6F #9D1E30
triadic
#9D1E6F #6F9D1E #1E6F9D
tetradic
#9D1E6F #9D8C1E #1E9D4C #1E309D
square
#9D1E6F #9D8C1E #1E9D4C #1E309D
split-complementary
#9D1E6F #309D1E #1E9D8C
monochromatic
#360A26 #6A144B #9D1E6F #D02893 #DF57AD

Accessibility & contrast

On white

7.37
#9D1E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D1E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E6F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E6F#FFFFFF#000000##FFFFFF
##9D1E6F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A81845
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1e6f;
/* rgb */ color: rgb(157, 30, 111);
/* oklch */ color: oklch(47.6% 0.178 347.2);
Tailwind
colors: {
  custom: {
    50: '#be6998',
    500: '#9d1e6f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e6f;
$custom-light: #be6998;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e6f",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 321.732,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.17804,
    "h": 347.2
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#9D1E6F
secondary
#54C27C
accent
#EB7C3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D1E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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