#9F215A#9F215A

#9F215A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.167 H 358.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9F215A
RGBrgb(159, 33, 90)
HSLhsl(333, 66%, 38%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 79.2%, 43.4%, 37.6%)
CIE-LABlab(36.36, 54.27, -1.63)
CIE-LCHlch(36.36, 54.30, 358.28°)
OKLaboklab(47.34% 0.1669 -0.0036)
OKLCHoklch(47.34% 0.167 358.8)
XYZxyz(16.6887, 9.1990, 10.5677)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215A #219F66
analogous
#9F2199 #9F215A #9F2721
triadic
#9F215A #5A9F21 #215A9F
tetradic
#9F215A #999F21 #219F66 #27219F
square
#9F215A #999F21 #219F66 #27219F
split-complementary
#9F215A #219F27 #21999F
monochromatic
#3A0C21 #6C163D #9F215A #D22C77 #DD5D97

Accessibility & contrast

On white

7.40
#9F215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F215A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215A#FFFFFF#000000##FFFFFF
##9F215A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#AD073B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215a;
/* rgb */ color: rgb(159, 33, 90);
/* oklch */ color: oklch(47.3% 0.167 358.8);
Tailwind
colors: {
  custom: {
    50: '#c16a88',
    500: '#9f215a',
    950: '#000000',
  },
}
SCSS
$custom: #9f215a;
$custom-light: #c16a88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215a",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 332.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.1669,
    "h": 358.8
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#9F215A
secondary
#5AC293
accent
#E99C3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F215A

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

Preview Lab → · Contrast checker → · Palette generator →

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