#9F204F#9F204F

#9F204F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.164 H 4.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9F204F
RGBrgb(159, 32, 79)
HSLhsl(338, 66%, 37%)
HSVhsv(338, 80%, 62%)
CMYKcmyk(0%, 79.9%, 50.3%, 37.6%)
CIE-LABlab(35.93, 53.55, 4.82)
CIE-LCHlch(35.93, 53.77, 5.15°)
OKLaboklab(46.91% 0.164 0.0128)
OKLCHoklch(46.91% 0.164 4.5)
XYZxyz(16.2273, 8.9707, 8.2727)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F204F #209F70
analogous
#9F208F #9F204F #9F3020
triadic
#9F204F #4F9F20 #204F9F
tetradic
#9F204F #8F9F20 #209F70 #30209F
square
#9F204F #8F9F20 #209F70 #30209F
split-complementary
#9F204F #209F30 #208F9F
monochromatic
#390B1C #6C1636 #9F204F #D22A68 #DE5B8C

Accessibility & contrast

On white

7.52
#9F204F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F204F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F204F#FFFFFF#000000##FFFFFF
##9F204F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404550
Deuteranopia (green-blind)
#625D4C
Tritanopia (blue-blind)
#AD0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f204f;
/* rgb */ color: rgb(159, 32, 79);
/* oklch */ color: oklch(46.9% 0.164 4.5);
Tailwind
colors: {
  custom: {
    50: '#c16980',
    500: '#9f204f',
    950: '#000000',
  },
}
SCSS
$custom: #9f204f;
$custom-light: #c16980;
$custom-dark: #000000;
JSON
{
  "hex": "#9f204f",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 79
  },
  "hsl": {
    "h": 337.795,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46906,
    "c": 0.16445,
    "h": 4.5
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#9F204F
secondary
#59C29B
accent
#E9AA3E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F204F

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

Preview Lab → · Contrast checker → · Palette generator →

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