#9F285A#9F285A

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

Color values

HEX#9F285A
RGBrgb(159, 40, 90)
HSLhsl(335, 60%, 39%)
HSVhsv(335, 75%, 62%)
CMYKcmyk(0%, 74.8%, 43.4%, 37.6%)
CIE-LABlab(37.17, 52.01, -0.45)
CIE-LCHlch(37.17, 52.01, 359.50°)
OKLaboklab(47.93% 0.1596 -0.0006)
OKLCHoklch(47.93% 0.16 359.8)
XYZxyz(16.9036, 9.6289, 10.6393)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F285A #289F6D
analogous
#9F2896 #9F285A #9F3228
triadic
#9F285A #5A9F28 #285A9F
tetradic
#9F285A #969F28 #289F6D #32289F
square
#9F285A #969F28 #289F6D #32289F
split-complementary
#9F285A #289F32 #28969F
monochromatic
#3D0F23 #6E1C3E #9F285A #CD3776 #D96898

Accessibility & contrast

On white

7.18
#9F285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F285A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F285A#FFFFFF#000000##FFFFFF
##9F285A1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#626057
Tritanopia (blue-blind)
#AD153D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f285a;
/* rgb */ color: rgb(159, 40, 90);
/* oklch */ color: oklch(47.9% 0.160 359.8);
Tailwind
colors: {
  custom: {
    50: '#c06d88',
    500: '#9f285a',
    950: '#000000',
  },
}
SCSS
$custom: #9f285a;
$custom-light: #c06d88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f285a",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 334.79,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.15961,
    "h": 359.8
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#9F285A
secondary
#64BF99
accent
#E3A145
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F285A

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

Preview Lab → · Contrast checker → · Palette generator →

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