#9B255D#9B255D

#9B255D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 356.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9B255D
RGBrgb(155, 37, 93)
HSLhsl(332, 61%, 38%)
HSVhsv(332, 76%, 61%)
CMYKcmyk(0%, 76.1%, 40%, 39.2%)
CIE-LABlab(36.15, 52.21, -3.96)
CIE-LCHlch(36.15, 52.36, 355.66°)
OKLaboklab(47.07% 0.1604 -0.0098)
OKLCHoklch(47.07% 0.161 356.5)
XYZxyz(16.1560, 9.0840, 11.2564)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255D #259B63
analogous
#9B2598 #9B255D #9B2825
triadic
#9B255D #5D9B25 #255D9B
tetradic
#9B255D #989B25 #259B63 #28259B
square
#9B255D #989B25 #259B63 #28259B
split-complementary
#9B255D #259B28 #25989B
monochromatic
#380D22 #6A193F #9B255D #CC317B #D9619A

Accessibility & contrast

On white

7.46
#9B255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B255D
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255D#FFFFFF#000000##FFFFFF
##9B255D1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5E5D5A
Tritanopia (blue-blind)
#A8153E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255d;
/* rgb */ color: rgb(155, 37, 93);
/* oklch */ color: oklch(47.1% 0.161 356.5);
Tailwind
colors: {
  custom: {
    50: '#bd6b8a',
    500: '#9b255d',
    950: '#000000',
  },
}
SCSS
$custom: #9b255d;
$custom-light: #bd6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255d",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 331.525,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.16065,
    "h": 356.5
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#9B255D
secondary
#5DBF90
accent
#E59843
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B255D

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

Preview Lab → · Contrast checker → · Palette generator →

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