#9F285D#9F285D

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

Color values

HEX#9F285D
RGBrgb(159, 40, 93)
HSLhsl(333, 60%, 39%)
HSVhsv(333, 75%, 62%)
CMYKcmyk(0%, 74.8%, 41.5%, 37.6%)
CIE-LABlab(37.26, 52.32, -2.22)
CIE-LCHlch(37.26, 52.36, 357.57°)
OKLaboklab(48.03% 0.1606 -0.0052)
OKLCHoklch(48.03% 0.161 358.1)
XYZxyz(17.0339, 9.6810, 11.3254)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F285D #289F6A
analogous
#9F2899 #9F285D #9F2E28
triadic
#9F285D #5D9F28 #285D9F
tetradic
#9F285D #999F28 #289F6A #2E289F
square
#9F285D #999F28 #289F6A #2E289F
split-complementary
#9F285D #289F2E #28999F
monochromatic
#3D0F24 #6E1C40 #9F285D #CD377A #D9689B

Accessibility & contrast

On white

7.15
#9F285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F285D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F285D#FFFFFF#000000##FFFFFF
##9F285D1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495E
Deuteranopia (green-blind)
#61605A
Tritanopia (blue-blind)
#AC173F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f285d;
/* rgb */ color: rgb(159, 40, 93);
/* oklch */ color: oklch(48.0% 0.161 358.1);
Tailwind
colors: {
  custom: {
    50: '#c06d8a',
    500: '#9f285d',
    950: '#000000',
  },
}
SCSS
$custom: #9f285d;
$custom-light: #c06d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f285d",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 333.277,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.16069,
    "h": 358.1
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#9F285D
secondary
#64BF96
accent
#E39D45
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F285D

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

Preview Lab → · Contrast checker → · Palette generator →

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