#9E285C#9E285C

#9E285C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.159 H 358.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9E285C
RGBrgb(158, 40, 92)
HSLhsl(334, 60%, 39%)
HSVhsv(334, 75%, 62%)
CMYKcmyk(0%, 74.7%, 41.8%, 38%)
CIE-LABlab(37.04, 51.92, -1.93)
CIE-LCHlch(37.04, 51.96, 357.87°)
OKLaboklab(47.82% 0.1594 -0.0044)
OKLCHoklch(47.82% 0.159 358.4)
XYZxyz(16.7923, 9.5615, 11.0844)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E285C #289E6A
analogous
#9E2897 #9E285C #9E2F28
triadic
#9E285C #5C9E28 #285C9E
tetradic
#9E285C #979E28 #289E6A #2F289E
square
#9E285C #979E28 #289E6A #2F289E
split-complementary
#9E285C #289E2F #28979E
monochromatic
#3C0F23 #6D1C40 #9E285C #CC3779 #D96899

Accessibility & contrast

On white

7.21
#9E285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E285C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E285C#FFFFFF#000000##FFFFFF
##9E285C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#615F59
Tritanopia (blue-blind)
#AB173E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e285c;
/* rgb */ color: rgb(158, 40, 92);
/* oklch */ color: oklch(47.8% 0.159 358.4);
Tailwind
colors: {
  custom: {
    50: '#bf6d8a',
    500: '#9e285c',
    950: '#000000',
  },
}
SCSS
$custom: #9e285c;
$custom-light: #bf6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e285c",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 333.559,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4782,
    "c": 0.15946,
    "h": 358.4
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#9E285C
secondary
#63BF96
accent
#E39D45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E285C

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

Preview Lab → · Contrast checker → · Palette generator →

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