#9D285F#9D285F

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

Color values

HEX#9D285F
RGBrgb(157, 40, 95)
HSLhsl(332, 59%, 39%)
HSVhsv(332, 75%, 62%)
CMYKcmyk(0%, 74.5%, 39.5%, 38.4%)
CIE-LABlab(36.96, 51.96, -4.00)
CIE-LCHlch(36.96, 52.11, 355.60°)
OKLaboklab(47.75% 0.1595 -0.0099)
OKLCHoklch(47.75% 0.16 356.5)
XYZxyz(16.7301, 9.5140, 11.7796)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D285F #289D66
analogous
#9D2899 #9D285F #9D2B28
triadic
#9D285F #5F9D28 #285F9D
tetradic
#9D285F #999D28 #289D66 #2B289D
square
#9D285F #999D28 #289D66 #2B289D
split-complementary
#9D285F #289D2B #28999D
monochromatic
#3B0F24 #6C1C41 #9D285F #CC367D #D8679C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D285F#FFFFFF#000000##FFFFFF
##9D285F1.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)
#3F4960
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AA1A40
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d285f;
/* rgb */ color: rgb(157, 40, 95);
/* oklch */ color: oklch(47.8% 0.160 356.5);
Tailwind
colors: {
  custom: {
    50: '#bf6d8c',
    500: '#9d285f',
    950: '#000000',
  },
}
SCSS
$custom: #9d285f;
$custom-light: #bf6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d285f",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 331.795,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.15978,
    "h": 356.5
  },
  "luminance": 0.09512
}

Semantic roles & 50–950 ramp

primary
#9D285F
secondary
#62BE93
accent
#E39945
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D285F

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

Preview Lab → · Contrast checker → · Palette generator →

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