#9F204C#9F204C

#9F204C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.164 H 6.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9F204C
RGBrgb(159, 32, 76)
HSLhsl(339, 66%, 37%)
HSVhsv(339, 80%, 62%)
CMYKcmyk(0%, 79.9%, 52.2%, 37.6%)
CIE-LABlab(35.85, 53.30, 6.64)
CIE-LCHlch(35.85, 53.71, 7.11°)
OKLaboklab(46.82% 0.1628 0.0173)
OKLCHoklch(46.82% 0.164 6.1)
XYZxyz(16.1206, 8.9280, 7.7105)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F204C #209F73
analogous
#9F208B #9F204C #9F3420
triadic
#9F204C #4C9F20 #204C9F
tetradic
#9F204C #8B9F20 #209F73 #34209F
square
#9F204C #8B9F20 #209F73 #34209F
split-complementary
#9F204C #209F34 #208B9F
monochromatic
#390B1B #6C1634 #9F204C #D22A64 #DE5B89

Accessibility & contrast

On white

7.54
#9F204C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F204C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F204C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F204C#FFFFFF#000000##FFFFFF
##9F204C1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41444D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AE0033
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f204c;
/* rgb */ color: rgb(159, 32, 76);
/* oklch */ color: oklch(46.8% 0.164 6.1);
Tailwind
colors: {
  custom: {
    50: '#c1697d',
    500: '#9f204c',
    950: '#000000',
  },
}
SCSS
$custom: #9f204c;
$custom-light: #c1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f204c",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 76
  },
  "hsl": {
    "h": 339.213,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46819,
    "c": 0.16374,
    "h": 6.1
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#9F204C
secondary
#59C29E
accent
#E9AE3E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F204C

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

Preview Lab → · Contrast checker → · Palette generator →

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