#9D2058#9D2058

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

Color values

HEX#9D2058
RGBrgb(157, 32, 88)
HSLhsl(333, 66%, 37%)
HSVhsv(333, 80%, 62%)
CMYKcmyk(0%, 79.6%, 43.9%, 38.4%)
CIE-LABlab(35.81, 53.83, -1.21)
CIE-LCHlch(35.81, 53.84, 358.71°)
OKLaboklab(46.84% 0.1655 -0.0025)
OKLCHoklch(46.84% 0.166 359.1)
XYZxyz(16.1838, 8.9078, 10.0978)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2058 #209D65
analogous
#9D2097 #9D2058 #9D2620
triadic
#9D2058 #589D20 #20589D
tetradic
#9D2058 #979D20 #209D65 #26209D
square
#9D2058 #979D20 #209D65 #26209D
split-complementary
#9D2058 #209D26 #20979D
monochromatic
#370B1F #6A163C #9D2058 #D02A74 #DD5A95

Accessibility & contrast

On white

7.55
#9D2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2058
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2058#FFFFFF#000000##FFFFFF
##9D20581.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AB0539
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2058;
/* rgb */ color: rgb(157, 32, 88);
/* oklch */ color: oklch(46.8% 0.166 359.1);
Tailwind
colors: {
  custom: {
    50: '#bf6987',
    500: '#9d2058',
    950: '#000000',
  },
}
SCSS
$custom: #9d2058;
$custom-light: #bf6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2058",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 333.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46835,
    "c": 0.16551,
    "h": 359.1
  },
  "luminance": 0.08906
}

Semantic roles & 50–950 ramp

primary
#9D2058
secondary
#57C192
accent
#E99D3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2058

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

Preview Lab → · Contrast checker → · Palette generator →

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