#9F2147#9F2147

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

Color values

HEX#9F2147
RGBrgb(159, 33, 71)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 79.2%, 55.3%, 37.6%)
CIE-LABlab(35.82, 52.60, 9.84)
CIE-LCHlch(35.82, 53.51, 10.60°)
OKLaboklab(46.76% 0.1599 0.025)
OKLCHoklch(46.76% 0.162 8.9)
XYZxyz(15.9808, 8.9159, 6.8395)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2147 #219F79
analogous
#9F2186 #9F2147 #9F3A21
triadic
#9F2147 #479F21 #21479F
tetradic
#9F2147 #869F21 #219F79 #3A219F
square
#9F2147 #869F21 #219F79 #3A219F
split-complementary
#9F2147 #219F3A #21869F
monochromatic
#3A0C1A #6C1630 #9F2147 #D22C5E #DD5D84

Accessibility & contrast

On white

7.55
#9F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2147
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2147#FFFFFF#000000##FFFFFF
##9F21471.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2147;
/* rgb */ color: rgb(159, 33, 71);
/* oklch */ color: oklch(46.8% 0.162 8.9);
Tailwind
colors: {
  custom: {
    50: '#c26979',
    500: '#9f2147',
    950: '#000000',
  },
}
SCSS
$custom: #9f2147;
$custom-light: #c26979;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2147",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 341.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.16187,
    "h": 8.9
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#9F2147
secondary
#5AC2A3
accent
#E9B63F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F2147

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

Preview Lab → · Contrast checker → · Palette generator →

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