#9D2057#9D2057

#9D2057 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 359.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9D2057
RGBrgb(157, 32, 87)
HSLhsl(334, 66%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 79.6%, 44.6%, 38.4%)
CIE-LABlab(35.77, 53.73, -0.61)
CIE-LCHlch(35.77, 53.73, 359.35°)
OKLaboklab(46.8% 0.1652 -0.001)
OKLCHoklch(46.8% 0.165 359.7)
XYZxyz(16.1427, 8.8914, 9.8811)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2057 #209D66
analogous
#9D2096 #9D2057 #9D2720
triadic
#9D2057 #579D20 #20579D
tetradic
#9D2057 #969D20 #209D66 #27209D
square
#9D2057 #969D20 #209D66 #27209D
split-complementary
#9D2057 #209D27 #20969D
monochromatic
#370B1F #6A163B #9D2057 #D02A73 #DD5A94

Accessibility & contrast

On white

7.56
#9D2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9D2057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2057
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2057#FFFFFF#000000##FFFFFF
##9D20571.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#AB0439
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2057;
/* rgb */ color: rgb(157, 32, 87);
/* oklch */ color: oklch(46.8% 0.165 359.7);
Tailwind
colors: {
  custom: {
    50: '#bf6986',
    500: '#9d2057',
    950: '#000000',
  },
}
SCSS
$custom: #9d2057;
$custom-light: #bf6986;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2057",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 333.6,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.16515,
    "h": 359.7
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#9D2057
secondary
#57C193
accent
#E99E3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2057

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

Preview Lab → · Contrast checker → · Palette generator →

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