#9D2152#9D2152

#9D2152 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 2.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9D2152
RGBrgb(157, 33, 82)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 79%, 47.8%, 38.4%)
CIE-LABlab(35.73, 52.96, 2.55)
CIE-LCHlch(35.73, 53.02, 2.75°)
OKLaboklab(46.72% 0.1624 0.0071)
OKLCHoklch(46.72% 0.163 2.5)
XYZxyz(15.9728, 8.8672, 8.8514)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2152 #219D6C
analogous
#9D2190 #9D2152 #9D2E21
triadic
#9D2152 #529D21 #21529D
tetradic
#9D2152 #909D21 #219D6C #2E219D
square
#9D2152 #909D21 #219D6C #2E219D
split-complementary
#9D2152 #219D2E #21909D
monochromatic
#380C1D #6A1638 #9D2152 #D02C6C #DD5C8F

Accessibility & contrast

On white

7.57
#9D2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2152
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2152#FFFFFF#000000##FFFFFF
##9D21521.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4553
Deuteranopia (green-blind)
#605D4F
Tritanopia (blue-blind)
#AB0137
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2152;
/* rgb */ color: rgb(157, 33, 82);
/* oklch */ color: oklch(46.7% 0.163 2.5);
Tailwind
colors: {
  custom: {
    50: '#bf6982',
    500: '#9d2152',
    950: '#000000',
  },
}
SCSS
$custom: #9d2152;
$custom-light: #bf6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2152",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 336.29,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.1626,
    "h": 2.5
  },
  "luminance": 0.08865
}

Semantic roles & 50–950 ramp

primary
#9D2152
secondary
#59C198
accent
#E8A640
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2152

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

Preview Lab → · Contrast checker → · Palette generator →

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