#9D2052#9D2052

#9D2052 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 2.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9D2052
RGBrgb(157, 32, 82)
HSLhsl(336, 66%, 37%)
HSVhsv(336, 80%, 62%)
CMYKcmyk(0%, 79.6%, 47.8%, 38.4%)
CIE-LABlab(35.62, 53.26, 2.39)
CIE-LCHlch(35.62, 53.31, 2.57°)
OKLaboklab(46.64% 0.1634 0.0067)
OKLCHoklch(46.64% 0.164 2.4)
XYZxyz(15.9455, 8.8125, 8.8423)
Luminance0.0881 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2052 #209D6B
analogous
#9D2091 #9D2052 #9D2C20
triadic
#9D2052 #529D20 #20529D
tetradic
#9D2052 #919D20 #209D6B #2C209D
square
#9D2052 #919D20 #209D6B #2C209D
split-complementary
#9D2052 #209D2C #20919D
monochromatic
#370B1D #6A1637 #9D2052 #D02A6D #DD5A8F

Accessibility & contrast

On white

7.60
#9D2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2052
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2052#FFFFFF#000000##FFFFFF
##9D20521.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2052;
/* rgb */ color: rgb(157, 32, 82);
/* oklch */ color: oklch(46.6% 0.164 2.4);
Tailwind
colors: {
  custom: {
    50: '#bf6982',
    500: '#9d2052',
    950: '#000000',
  },
}
SCSS
$custom: #9d2052;
$custom-light: #bf6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2052",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 336,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46638,
    "c": 0.16355,
    "h": 2.4
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#9D2052
secondary
#57C197
accent
#E9A53F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2052

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

Preview Lab → · Contrast checker → · Palette generator →

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