#9F2F5D#9F2F5D

#9F2F5D is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.152 H 359.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F2F5D
RGBrgb(159, 47, 93)
HSLhsl(335, 54%, 40%)
HSVhsv(335, 70%, 62%)
CMYKcmyk(0%, 70.4%, 41.5%, 37.6%)
CIE-LABlab(38.19, 49.73, -0.86)
CIE-LCHlch(38.19, 49.73, 359.01°)
OKLaboklab(48.71% 0.1524 -0.0016)
OKLCHoklch(48.71% 0.152 359.4)
XYZxyz(17.2916, 10.1964, 11.4113)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F5D #2F9F71
analogous
#9F2F95 #9F2F5D #9F392F
triadic
#9F2F5D #5D9F2F #2F5D9F
tetradic
#9F2F5D #959F2F #2F9F71 #392F9F
square
#9F2F5D #959F2F #2F9F71 #392F9F
split-complementary
#9F2F5D #2F9F39 #2F959F
monochromatic
#411326 #702141 #9F2F5D #C8447A #D6739B

Accessibility & contrast

On white

6.91
#9F2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F5D
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F5D#FFFFFF#000000##FFFFFF
##9F2F5D1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#AC2142
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2f5d;
/* rgb */ color: rgb(159, 47, 93);
/* oklch */ color: oklch(48.7% 0.152 359.4);
Tailwind
colors: {
  custom: {
    50: '#c0708a',
    500: '#9f2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f5d;
$custom-light: #c0708a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f5d",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 335.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.15238,
    "h": 359.4
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#9F2F5D
secondary
#6DBD9C
accent
#DEA14A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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