#9D285C#9D285C

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

Color values

HEX#9D285C
RGBrgb(157, 40, 92)
HSLhsl(333, 59%, 39%)
HSVhsv(333, 75%, 62%)
CMYKcmyk(0%, 74.5%, 41.4%, 38.4%)
CIE-LABlab(36.86, 51.64, -2.23)
CIE-LCHlch(36.86, 51.69, 357.53°)
OKLaboklab(47.65% 0.1585 -0.0052)
OKLCHoklch(47.65% 0.159 358.1)
XYZxyz(16.5964, 9.4605, 11.0752)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D285C #289D69
analogous
#9D2896 #9D285C #9D2E28
triadic
#9D285C #5C9D28 #285C9D
tetradic
#9D285C #969D28 #289D69 #2E289D
square
#9D285C #969D28 #289D69 #2E289D
split-complementary
#9D285C #289D2E #28969D
monochromatic
#3B0F23 #6C1C3F #9D285C #CC3679 #D86799

Accessibility & contrast

On white

7.26
#9D285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D285C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D285C#FFFFFF#000000##FFFFFF
##9D285C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40495D
Deuteranopia (green-blind)
#605F59
Tritanopia (blue-blind)
#AA183E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d285c;
/* rgb */ color: rgb(157, 40, 92);
/* oklch */ color: oklch(47.6% 0.159 358.1);
Tailwind
colors: {
  custom: {
    50: '#bf6d8a',
    500: '#9d285c',
    950: '#000000',
  },
}
SCSS
$custom: #9d285c;
$custom-light: #bf6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d285c",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 333.333,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.1586,
    "h": 358.1
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D285C

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

Preview Lab → · Contrast checker → · Palette generator →

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