#9F2047#9F2047

#9F2047 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.163 H 8.7°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2047
RGBrgb(159, 32, 71)
HSLhsl(342, 66%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 79.9%, 55.3%, 37.6%)
CIE-LABlab(35.72, 52.90, 9.70)
CIE-LCHlch(35.72, 53.78, 10.39°)
OKLaboklab(46.68% 0.1609 0.0247)
OKLCHoklch(46.68% 0.163 8.7)
XYZxyz(15.9534, 8.8612, 6.8303)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2047 #209F78
analogous
#9F2086 #9F2047 #9F3920
triadic
#9F2047 #479F20 #20479F
tetradic
#9F2047 #869F20 #209F78 #39209F
square
#9F2047 #869F20 #209F78 #39209F
split-complementary
#9F2047 #209F39 #20869F
monochromatic
#390B1A #6C1630 #9F2047 #D22A5E #DE5B83

Accessibility & contrast

On white

7.58
#9F2047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9F2047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2047
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2047#FFFFFF#000000##FFFFFF
##9F20471.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424448
Deuteranopia (green-blind)
#635D44
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2047;
/* rgb */ color: rgb(159, 32, 71);
/* oklch */ color: oklch(46.7% 0.163 8.7);
Tailwind
colors: {
  custom: {
    50: '#c26979',
    500: '#9f2047',
    950: '#000000',
  },
}
SCSS
$custom: #9f2047;
$custom-light: #c26979;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2047",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 341.575,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.16277,
    "h": 8.7
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

primary
#9F2047
secondary
#59C2A2
accent
#E9B53E
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2047

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

Preview Lab → · Contrast checker → · Palette generator →

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