#9D285B#9D285B

#9D285B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.158 H 358.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9D285B
RGBrgb(157, 40, 91)
HSLhsl(334, 59%, 39%)
HSVhsv(334, 75%, 62%)
CMYKcmyk(0%, 74.5%, 42%, 38.4%)
CIE-LABlab(36.82, 51.53, -1.64)
CIE-LCHlch(36.82, 51.56, 358.18°)
OKLaboklab(47.61% 0.1582 -0.0037)
OKLCHoklch(47.61% 0.158 358.7)
XYZxyz(16.5529, 9.4431, 10.8465)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D285B #289D6A
analogous
#9D2895 #9D285B #9D2F28
triadic
#9D285B #5B9D28 #285B9D
tetradic
#9D285B #959D28 #289D6A #2F289D
square
#9D285B #959D28 #289D6A #2F289D
split-complementary
#9D285B #289D2F #28959D
monochromatic
#3B0F22 #6C1C3F #9D285B #CC3678 #D86798

Accessibility & contrast

On white

7.27
#9D285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D285B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D285B#FFFFFF#000000##FFFFFF
##9D285B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41485C
Deuteranopia (green-blind)
#615F58
Tritanopia (blue-blind)
#AA173E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d285b;
/* rgb */ color: rgb(157, 40, 91);
/* oklch */ color: oklch(47.6% 0.158 358.7);
Tailwind
colors: {
  custom: {
    50: '#bf6d89',
    500: '#9d285b',
    950: '#000000',
  },
}
SCSS
$custom: #9d285b;
$custom-light: #bf6d89;
$custom-dark: #000000;
JSON
{
  "hex": "#9d285b",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 333.846,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.15822,
    "h": 358.7
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#9D285B
secondary
#62BE96
accent
#E39E45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D285B

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

Preview Lab → · Contrast checker → · Palette generator →

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