#9F2142#9F2142

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

Color values

HEX#9F2142
RGBrgb(159, 33, 66)
HSLhsl(344, 66%, 38%)
HSVhsv(344, 79%, 62%)
CMYKcmyk(0%, 79.2%, 58.5%, 37.6%)
CIE-LABlab(35.70, 52.22, 12.91)
CIE-LCHlch(35.70, 53.80, 13.89°)
OKLaboklab(46.63% 0.1579 0.0322)
OKLCHoklch(46.63% 0.161 11.5)
XYZxyz(15.8269, 8.8543, 6.0289)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2142 #219F7E
analogous
#9F2181 #9F2142 #9F3F21
triadic
#9F2142 #429F21 #21429F
tetradic
#9F2142 #819F21 #219F7E #3F219F
square
#9F2142 #819F21 #219F7E #3F219F
split-complementary
#9F2142 #219F3F #21819F
monochromatic
#3A0C18 #6C162D #9F2142 #D22C57 #DD5D7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2142#FFFFFF#000000##FFFFFF
##9F21421.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)
#444442
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2142;
/* rgb */ color: rgb(159, 33, 66);
/* oklch */ color: oklch(46.6% 0.161 11.5);
Tailwind
colors: {
  custom: {
    50: '#c26976',
    500: '#9f2142',
    950: '#000000',
  },
}
SCSS
$custom: #9f2142;
$custom-light: #c26976;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2142",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 344.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.16119,
    "h": 11.5
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#9F2142
secondary
#5AC2A7
accent
#E9BC3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9F2142

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

Preview Lab → · Contrast checker → · Palette generator →

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