#9B255B#9B255B

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

Color values

HEX#9B255B
RGBrgb(155, 37, 91)
HSLhsl(333, 61%, 38%)
HSVhsv(333, 76%, 61%)
CMYKcmyk(0%, 76.1%, 41.3%, 39.2%)
CIE-LABlab(36.08, 51.99, -2.78)
CIE-LCHlch(36.08, 52.07, 356.94°)
OKLaboklab(47% 0.1597 -0.0066)
OKLCHoklch(47% 0.16 357.6)
XYZxyz(16.0686, 9.0491, 10.7960)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B255B #259B65
analogous
#9B2596 #9B255B #9B2A25
triadic
#9B255B #5B9B25 #255B9B
tetradic
#9B255B #969B25 #259B65 #2A259B
square
#9B255B #969B25 #259B65 #2A259B
split-complementary
#9B255B #259B2A #25969B
monochromatic
#380D21 #6A193E #9B255B #CC3178 #D96198

Accessibility & contrast

On white

7.47
#9B255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B255B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B255B#FFFFFF#000000##FFFFFF
##9B255B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#5E5D58
Tritanopia (blue-blind)
#A8143D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b255b;
/* rgb */ color: rgb(155, 37, 91);
/* oklch */ color: oklch(47.0% 0.160 357.6);
Tailwind
colors: {
  custom: {
    50: '#bd6b89',
    500: '#9b255b',
    950: '#000000',
  },
}
SCSS
$custom: #9b255b;
$custom-light: #bd6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b255b",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 332.542,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46996,
    "c": 0.15984,
    "h": 357.6
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#9B255B
secondary
#5DBF92
accent
#E59B43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B255B

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

Preview Lab → · Contrast checker → · Palette generator →

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