#9F285B#9F285B

#9F285B is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.160 H 359.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F285B
RGBrgb(159, 40, 91)
HSLhsl(334, 60%, 39%)
HSVhsv(334, 75%, 62%)
CMYKcmyk(0%, 74.8%, 42.8%, 37.6%)
CIE-LABlab(37.20, 52.11, -1.04)
CIE-LCHlch(37.20, 52.12, 358.85°)
OKLaboklab(47.96% 0.16 -0.0021)
OKLCHoklch(47.96% 0.16 359.2)
XYZxyz(16.9464, 9.6460, 10.8650)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F285B #289F6C
analogous
#9F2897 #9F285B #9F3128
triadic
#9F285B #5B9F28 #285B9F
tetradic
#9F285B #979F28 #289F6C #31289F
square
#9F285B #979F28 #289F6C #31289F
split-complementary
#9F285B #289F31 #28979F
monochromatic
#3D0F23 #6E1C3F #9F285B #CD3777 #D96899

Accessibility & contrast

On white

7.17
#9F285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F285B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F285B#FFFFFF#000000##FFFFFF
##9F285B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495C
Deuteranopia (green-blind)
#626058
Tritanopia (blue-blind)
#AC163E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f285b;
/* rgb */ color: rgb(159, 40, 91);
/* oklch */ color: oklch(48.0% 0.160 359.2);
Tailwind
colors: {
  custom: {
    50: '#c06d89',
    500: '#9f285b',
    950: '#000000',
  },
}
SCSS
$custom: #9f285b;
$custom-light: #c06d89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f285b",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 334.286,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.15996,
    "h": 359.2
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#9F285B
secondary
#64BF98
accent
#E39F45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F285B

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

Preview Lab → · Contrast checker → · Palette generator →

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