#9B255A#9B255A

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

Color values

HEX#9B255A
RGBrgb(155, 37, 90)
HSLhsl(333, 61%, 38%)
HSVhsv(333, 76%, 61%)
CMYKcmyk(0%, 76.1%, 41.9%, 39.2%)
CIE-LABlab(36.05, 51.89, -2.19)
CIE-LCHlch(36.05, 51.94, 357.59°)
OKLaboklab(46.96% 0.1594 -0.0051)
OKLCHoklch(46.96% 0.159 358.2)
XYZxyz(16.0258, 9.0319, 10.5703)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255A #259B66
analogous
#9B2595 #9B255A #9B2B25
triadic
#9B255A #5A9B25 #255A9B
tetradic
#9B255A #959B25 #259B66 #2B259B
square
#9B255A #959B25 #259B66 #2B259B
split-complementary
#9B255A #259B2B #25959B
monochromatic
#380D21 #6A193D #9B255A #CC3177 #D96197

Accessibility & contrast

On white

7.48
#9B255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9B255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B255A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255A#FFFFFF#000000##FFFFFF
##9B255A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475B
Deuteranopia (green-blind)
#5E5D57
Tritanopia (blue-blind)
#A8133C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255a;
/* rgb */ color: rgb(155, 37, 90);
/* oklch */ color: oklch(47.0% 0.159 358.2);
Tailwind
colors: {
  custom: {
    50: '#bd6b88',
    500: '#9b255a',
    950: '#000000',
  },
}
SCSS
$custom: #9b255a;
$custom-light: #bd6b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255a",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 333.051,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.15946,
    "h": 358.2
  },
  "luminance": 0.0903
}

Semantic roles & 50–950 ramp

primary
#9B255A
secondary
#5DBF93
accent
#E59C43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B255A

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

Preview Lab → · Contrast checker → · Palette generator →

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