#9D2558#9D2558

#9D2558 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.160 H 359.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9D2558
RGBrgb(157, 37, 88)
HSLhsl(335, 62%, 38%)
HSVhsv(335, 76%, 62%)
CMYKcmyk(0%, 76.4%, 43.9%, 38.4%)
CIE-LABlab(36.36, 52.26, -0.39)
CIE-LCHlch(36.36, 52.26, 359.57°)
OKLaboklab(47.24% 0.1604 -0.0004)
OKLCHoklch(47.24% 0.16 359.9)
XYZxyz(16.3289, 9.1979, 10.1461)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2558 #259D6A
analogous
#9D2594 #9D2558 #9D2E25
triadic
#9D2558 #589D25 #25589D
tetradic
#9D2558 #949D25 #259D6A #2E259D
square
#9D2558 #949D25 #259D6A #2E259D
split-complementary
#9D2558 #259D2E #25949D
monochromatic
#3A0E20 #6B193C #9D2558 #CE3174 #DA6295

Accessibility & contrast

On white

7.40
#9D2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9D2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2558
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2558#FFFFFF#000000##FFFFFF
##9D25581.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#605E55
Tritanopia (blue-blind)
#AA103B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2558;
/* rgb */ color: rgb(157, 37, 88);
/* oklch */ color: oklch(47.2% 0.160 359.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b87',
    500: '#9d2558',
    950: '#000000',
  },
}
SCSS
$custom: #9d2558;
$custom-light: #bf6b87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2558",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 334.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.16044,
    "h": 359.9
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#9D2558
secondary
#5EBF96
accent
#E5A043
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2558

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

Preview Lab → · Contrast checker → · Palette generator →

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