#9F2146#9F2146

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

Color values

HEX#9F2146
RGBrgb(159, 33, 70)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 79%, 62%)
CMYKcmyk(0%, 79.2%, 56%, 37.6%)
CIE-LABlab(35.80, 52.52, 10.46)
CIE-LCHlch(35.80, 53.55, 11.26°)
OKLaboklab(46.73% 0.1595 0.0265)
OKLCHoklch(46.73% 0.162 9.4)
XYZxyz(15.9490, 8.9031, 6.6718)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2146 #219F7A
analogous
#9F2185 #9F2146 #9F3B21
triadic
#9F2146 #469F21 #21469F
tetradic
#9F2146 #859F21 #219F7A #3B219F
square
#9F2146 #859F21 #219F7A #3B219F
split-complementary
#9F2146 #219F3B #21859F
monochromatic
#3A0C19 #6C1630 #9F2146 #D22C5C #DD5D83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2146#FFFFFF#000000##FFFFFF
##9F21461.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)
#434447
Deuteranopia (green-blind)
#645D43
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f2146;
/* rgb */ color: rgb(159, 33, 70);
/* oklch */ color: oklch(46.7% 0.162 9.4);
Tailwind
colors: {
  custom: {
    50: '#c26979',
    500: '#9f2146',
    950: '#000000',
  },
}
SCSS
$custom: #9f2146;
$custom-light: #c26979;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2146",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 342.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.16171,
    "h": 9.4
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2146

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

Preview Lab → · Contrast checker → · Palette generator →

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