#9B285E#9B285E

#9B285E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.158 H 356.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9B285E
RGBrgb(155, 40, 94)
HSLhsl(332, 59%, 38%)
HSVhsv(332, 74%, 61%)
CMYKcmyk(0%, 74.2%, 39.4%, 39.2%)
CIE-LABlab(36.55, 51.28, -4.00)
CIE-LCHlch(36.55, 51.43, 355.54°)
OKLaboklab(47.37% 0.1574 -0.0099)
OKLCHoklch(47.37% 0.158 356.4)
XYZxyz(16.2978, 9.2963, 11.5236)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B285E #289B65
analogous
#9B2897 #9B285E #9B2B28
triadic
#9B285E #5E9B28 #285E9B
tetradic
#9B285E #979B28 #289B65 #2B289B
square
#9B285E #979B28 #289B65 #2B289B
split-complementary
#9B285E #289B2B #28979B
monochromatic
#3A0F23 #6A1B40 #9B285E #CB357C #D7669B

Accessibility & contrast

On white

7.35
#9B285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B285E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B285E#FFFFFF#000000##FFFFFF
##9B285E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#5E5E5B
Tritanopia (blue-blind)
#A81A3F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b285e;
/* rgb */ color: rgb(155, 40, 94);
/* oklch */ color: oklch(47.4% 0.158 356.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c8b',
    500: '#9b285e',
    950: '#000000',
  },
}
SCSS
$custom: #9b285e;
$custom-light: #bd6c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b285e",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 331.826,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.15767,
    "h": 356.4
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#9B285E
secondary
#61BD92
accent
#E29946
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B285E

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

Preview Lab → · Contrast checker → · Palette generator →

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