#9F215F#9F215F

#9F215F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.169 H 356.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9F215F
RGBrgb(159, 33, 95)
HSLhsl(330, 66%, 38%)
HSVhsv(330, 79%, 62%)
CMYKcmyk(0%, 79.2%, 40.3%, 37.6%)
CIE-LABlab(36.53, 54.78, -4.58)
CIE-LCHlch(36.53, 54.97, 355.22°)
OKLaboklab(47.51% 0.1685 -0.0114)
OKLCHoklch(47.51% 0.169 356.1)
XYZxyz(16.9087, 9.2870, 11.7264)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F215F #219F61
analogous
#9F219E #9F215F #9F2221
triadic
#9F215F #5F9F21 #215F9F
tetradic
#9F215F #9E9F21 #219F61 #22219F
square
#9F215F #9E9F21 #219F61 #22219F
split-complementary
#9F215F #219F22 #219E9F
monochromatic
#3A0C22 #6C1641 #9F215F #D22C7D #DD5D9C

Accessibility & contrast

On white

7.35
#9F215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F215F
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F215F#FFFFFF#000000##FFFFFF
##9F215F1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4761
Deuteranopia (green-blind)
#5F5E5C
Tritanopia (blue-blind)
#AC0D3D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f215f;
/* rgb */ color: rgb(159, 33, 95);
/* oklch */ color: oklch(47.5% 0.169 356.1);
Tailwind
colors: {
  custom: {
    50: '#c06a8c',
    500: '#9f215f',
    950: '#000000',
  },
}
SCSS
$custom: #9f215f;
$custom-light: #c06a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f215f",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 330.476,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.16883,
    "h": 356.1
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#9F215F
secondary
#5AC28F
accent
#E9953F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F215F

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

Preview Lab → · Contrast checker → · Palette generator →

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