#9B285B#9B285B

#9B285B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.156 H 358.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9B285B
RGBrgb(155, 40, 91)
HSLhsl(333, 59%, 38%)
HSVhsv(333, 74%, 61%)
CMYKcmyk(0%, 74.2%, 41.3%, 39.2%)
CIE-LABlab(36.45, 50.95, -2.23)
CIE-LCHlch(36.45, 51.00, 357.49°)
OKLaboklab(47.27% 0.1564 -0.0052)
OKLCHoklch(47.27% 0.156 358.1)
XYZxyz(16.1658, 9.2435, 10.8284)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B285B #289B68
analogous
#9B2894 #9B285B #9B2E28
triadic
#9B285B #5B9B28 #285B9B
tetradic
#9B285B #949B28 #289B68 #2E289B
square
#9B285B #949B28 #289B68 #2E289B
split-complementary
#9B285B #289B2E #28949B
monochromatic
#3A0F22 #6A1B3E #9B285B #CB3578 #D76698

Accessibility & contrast

On white

7.37
#9B285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B285B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B285B#FFFFFF#000000##FFFFFF
##9B285B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485C
Deuteranopia (green-blind)
#5F5E58
Tritanopia (blue-blind)
#A8193E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b285b;
/* rgb */ color: rgb(155, 40, 91);
/* oklch */ color: oklch(47.3% 0.156 358.1);
Tailwind
colors: {
  custom: {
    50: '#bd6c89',
    500: '#9b285b',
    950: '#000000',
  },
}
SCSS
$custom: #9b285b;
$custom-light: #bd6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#9b285b",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 333.391,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.15648,
    "h": 358.1
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#9B285B
secondary
#61BD95
accent
#E29D46
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B285B

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

Preview Lab → · Contrast checker → · Palette generator →

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