#9D1952#9D1952

#9D1952 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.170 H 1.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9D1952
RGBrgb(157, 25, 82)
HSLhsl(334, 73%, 36%)
HSVhsv(334, 84%, 62%)
CMYKcmyk(0%, 84.1%, 47.8%, 38.4%)
CIE-LABlab(34.95, 55.16, 1.42)
CIE-LCHlch(34.95, 55.18, 1.48°)
OKLaboklab(46.15% 0.1696 0.0043)
OKLCHoklch(46.15% 0.17 1.4)
XYZxyz(15.7766, 8.4748, 8.7860)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1952 #199D64
analogous
#9D1994 #9D1952 #9D2219
triadic
#9D1952 #529D19 #19529D
tetradic
#9D1952 #949D19 #199D64 #22199D
square
#9D1952 #949D19 #199D64 #22199D
split-complementary
#9D1952 #199D22 #19949D
monochromatic
#33081B #681136 #9D1952 #D2216E #E34E8E

Accessibility & contrast

On white

7.79
#9D1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1952
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1952#FFFFFF#000000##FFFFFF
##9D19521.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#5E5B4F
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1952;
/* rgb */ color: rgb(157, 25, 82);
/* oklch */ color: oklch(46.1% 0.170 1.4);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9d1952',
    950: '#000000',
  },
}
SCSS
$custom: #9d1952;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1952",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 334.091,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46149,
    "c": 0.1696,
    "h": 1.4
  },
  "luminance": 0.08473
}

Semantic roles & 50–950 ramp

primary
#9D1952
secondary
#4DC591
accent
#EFA039
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1952

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

Preview Lab → · Contrast checker → · Palette generator →

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