#9F2A4E#9F2A4E

#9F2A4E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.7% C 0.154 H 6.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9F2A4E
RGBrgb(159, 42, 78)
HSLhsl(342, 58%, 39%)
HSVhsv(342, 74%, 62%)
CMYKcmyk(0%, 73.6%, 50.9%, 37.6%)
CIE-LABlab(37.08, 50.16, 7.10)
CIE-LCHlch(37.08, 50.66, 8.05°)
OKLaboklab(47.74% 0.1529 0.0185)
OKLCHoklch(47.74% 0.154 6.9)
XYZxyz(16.5026, 9.5791, 8.1862)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A4E #2A9F7B
analogous
#9F2A89 #9F2A4E #9F402A
triadic
#9F2A4E #4E9F2A #2A4E9F
tetradic
#9F2A4E #899F2A #2A9F7B #402A9F
square
#9F2A4E #899F2A #2A9F7B #402A9F
split-complementary
#9F2A4E #2A9F40 #2A899F
monochromatic
#3E101F #6F1D36 #9F2A4E #CB3B67 #D86B8D

Accessibility & contrast

On white

7.20
#9F2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A4E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A4E#FFFFFF#000000##FFFFFF
##9F2A4E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#AD1139
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2a4e;
/* rgb */ color: rgb(159, 42, 78);
/* oklch */ color: oklch(47.7% 0.154 6.9);
Tailwind
colors: {
  custom: {
    50: '#c16d7f',
    500: '#9f2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a4e;
$custom-light: #c16d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a4e",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 341.538,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47744,
    "c": 0.15405,
    "h": 6.9
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#9F2A4E
secondary
#66BFA3
accent
#E1B246
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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