#9F285C#9F285C

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

Color values

HEX#9F285C
RGBrgb(159, 40, 92)
HSLhsl(334, 60%, 39%)
HSVhsv(334, 75%, 62%)
CMYKcmyk(0%, 74.8%, 42.1%, 37.6%)
CIE-LABlab(37.23, 52.21, -1.63)
CIE-LCHlch(37.23, 52.24, 358.21°)
OKLaboklab(47.99% 0.1603 -0.0036)
OKLCHoklch(47.99% 0.16 358.7)
XYZxyz(16.9899, 9.6634, 11.0937)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F285C #289F6B
analogous
#9F2898 #9F285C #9F3028
triadic
#9F285C #5C9F28 #285C9F
tetradic
#9F285C #989F28 #289F6B #30289F
square
#9F285C #989F28 #289F6B #30289F
split-complementary
#9F285C #289F30 #28989F
monochromatic
#3D0F23 #6E1C40 #9F285C #CD3779 #D9689A

Accessibility & contrast

On white

7.16
#9F285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F285C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F285C#FFFFFF#000000##FFFFFF
##9F285C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#626059
Tritanopia (blue-blind)
#AC173E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f285c;
/* rgb */ color: rgb(159, 40, 92);
/* oklch */ color: oklch(48.0% 0.160 358.7);
Tailwind
colors: {
  custom: {
    50: '#c06d8a',
    500: '#9f285c',
    950: '#000000',
  },
}
SCSS
$custom: #9f285c;
$custom-light: #c06d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f285c",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 333.782,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.16032,
    "h": 358.7
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#9F285C
secondary
#64BF97
accent
#E39E45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F285C

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

Preview Lab → · Contrast checker → · Palette generator →

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