#9F284E#9F284E

#9F284E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.156 H 6.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9F284E
RGBrgb(159, 40, 78)
HSLhsl(341, 60%, 39%)
HSVhsv(341, 75%, 62%)
CMYKcmyk(0%, 74.8%, 50.9%, 37.6%)
CIE-LABlab(36.82, 50.88, 6.74)
CIE-LCHlch(36.82, 51.32, 7.54°)
OKLaboklab(47.55% 0.1552 0.0176)
OKLCHoklch(47.55% 0.156 6.5)
XYZxyz(16.4334, 9.4408, 8.1632)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F284E #289F79
analogous
#9F288A #9F284E #9F3D28
triadic
#9F284E #4E9F28 #284E9F
tetradic
#9F284E #8A9F28 #289F79 #3D289F
square
#9F284E #8A9F28 #289F79 #3D289F
split-complementary
#9F284E #289F3D #288A9F
monochromatic
#3D0F1E #6E1C36 #9F284E #CD3767 #D9688C

Accessibility & contrast

On white

7.27
#9F284E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F284E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F284E#FFFFFF#000000##FFFFFF
##9F284E1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45484F
Deuteranopia (green-blind)
#645F4B
Tritanopia (blue-blind)
#AD0C38
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f284e;
/* rgb */ color: rgb(159, 40, 78);
/* oklch */ color: oklch(47.6% 0.156 6.5);
Tailwind
colors: {
  custom: {
    50: '#c16c7f',
    500: '#9f284e',
    950: '#000000',
  },
}
SCSS
$custom: #9f284e;
$custom-light: #c16c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f284e",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 78
  },
  "hsl": {
    "h": 340.84,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.15623,
    "h": 6.5
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#9F284E
secondary
#64BFA2
accent
#E3B045
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F284E

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

Preview Lab → · Contrast checker → · Palette generator →

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