#9B285A#9B285A

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

Color values

HEX#9B285A
RGBrgb(155, 40, 90)
HSLhsl(334, 59%, 38%)
HSVhsv(334, 74%, 61%)
CMYKcmyk(0%, 74.2%, 41.9%, 39.2%)
CIE-LABlab(36.42, 50.85, -1.64)
CIE-LCHlch(36.42, 50.88, 358.15°)
OKLaboklab(47.23% 0.1561 -0.0037)
OKLCHoklch(47.23% 0.156 358.6)
XYZxyz(16.1230, 9.2264, 10.6027)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B285A #289B69
analogous
#9B2893 #9B285A #9B2F28
triadic
#9B285A #5A9B28 #285A9B
tetradic
#9B285A #939B28 #289B69 #2F289B
square
#9B285A #939B28 #289B69 #2F289B
split-complementary
#9B285A #289B2F #28939B
monochromatic
#3A0F22 #6A1B3E #9B285A #CB3576 #D76697

Accessibility & contrast

On white

7.38
#9B285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B285A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B285A#FFFFFF#000000##FFFFFF
##9B285A1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485B
Deuteranopia (green-blind)
#5F5E57
Tritanopia (blue-blind)
#A8183D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b285a;
/* rgb */ color: rgb(155, 40, 90);
/* oklch */ color: oklch(47.2% 0.156 358.6);
Tailwind
colors: {
  custom: {
    50: '#bd6c88',
    500: '#9b285a',
    950: '#000000',
  },
}
SCSS
$custom: #9b285a;
$custom-light: #bd6c88;
$custom-dark: #000000;
JSON
{
  "hex": "#9b285a",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 333.913,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47234,
    "c": 0.1561,
    "h": 358.6
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#9B285A
secondary
#61BD95
accent
#E29E46
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B285A

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

Preview Lab → · Contrast checker → · Palette generator →

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