#9D285E#9D285E

#9D285E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.159 H 357.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D285E
RGBrgb(157, 40, 94)
HSLhsl(332, 59%, 39%)
HSVhsv(332, 75%, 62%)
CMYKcmyk(0%, 74.5%, 40.1%, 38.4%)
CIE-LABlab(36.92, 51.85, -3.41)
CIE-LCHlch(36.92, 51.96, 356.24°)
OKLaboklab(47.72% 0.1592 -0.0083)
OKLCHoklch(47.72% 0.159 357)
XYZxyz(16.6850, 9.4959, 11.5418)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D285E #289D67
analogous
#9D2898 #9D285E #9D2C28
triadic
#9D285E #5E9D28 #285E9D
tetradic
#9D285E #989D28 #289D67 #2C289D
square
#9D285E #989D28 #289D67 #2C289D
split-complementary
#9D285E #289D2C #28989D
monochromatic
#3B0F24 #6C1C41 #9D285E #CC367B #D8679B

Accessibility & contrast

On white

7.24
#9D285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D285E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D285E#FFFFFF#000000##FFFFFF
##9D285E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495F
Deuteranopia (green-blind)
#605F5B
Tritanopia (blue-blind)
#AA193F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d285e;
/* rgb */ color: rgb(157, 40, 94);
/* oklch */ color: oklch(47.7% 0.159 357.0);
Tailwind
colors: {
  custom: {
    50: '#bf6d8b',
    500: '#9d285e',
    950: '#000000',
  },
}
SCSS
$custom: #9d285e;
$custom-light: #bf6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d285e",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 332.308,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.15938,
    "h": 357
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#9D285E
secondary
#62BE94
accent
#E39A45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D285E

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

Preview Lab → · Contrast checker → · Palette generator →

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