#9B2558#9B2558

#9B2558 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.159 H 359.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9B2558
RGBrgb(155, 37, 88)
HSLhsl(334, 61%, 38%)
HSVhsv(334, 76%, 61%)
CMYKcmyk(0%, 76.1%, 43.2%, 39.2%)
CIE-LABlab(35.98, 51.69, -1.00)
CIE-LCHlch(35.98, 51.70, 358.90°)
OKLaboklab(46.89% 0.1587 -0.002)
OKLCHoklch(46.89% 0.159 359.3)
XYZxyz(15.9418, 8.9983, 10.1280)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2558 #259B68
analogous
#9B2593 #9B2558 #9B2D25
triadic
#9B2558 #589B25 #25589B
tetradic
#9B2558 #939B25 #259B68 #2D259B
square
#9B2558 #939B25 #259B68 #2D259B
split-complementary
#9B2558 #259B2D #25939B
monochromatic
#380D20 #6A193C #9B2558 #CC3174 #D96195

Accessibility & contrast

On white

7.50
#9B2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9B2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2558
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2558#FFFFFF#000000##FFFFFF
##9B25581.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4659
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#A8123B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2558;
/* rgb */ color: rgb(155, 37, 88);
/* oklch */ color: oklch(46.9% 0.159 359.3);
Tailwind
colors: {
  custom: {
    50: '#bd6b87',
    500: '#9b2558',
    950: '#000000',
  },
}
SCSS
$custom: #9b2558;
$custom-light: #bd6b87;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2558",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 334.068,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.15872,
    "h": 359.3
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#9B2558
secondary
#5DBF94
accent
#E59F43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2558

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

Preview Lab → · Contrast checker → · Palette generator →

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