#9F2A56#9F2A56

#9F2A56 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.0% C 0.156 H 2.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F2A56
RGBrgb(159, 42, 86)
HSLhsl(337, 58%, 39%)
HSVhsv(337, 74%, 62%)
CMYKcmyk(0%, 73.6%, 45.9%, 37.6%)
CIE-LABlab(37.30, 50.90, 2.30)
CIE-LCHlch(37.30, 50.95, 2.59°)
OKLaboklab(47.98% 0.1559 0.0065)
OKLCHoklch(47.98% 0.156 2.4)
XYZxyz(16.8071, 9.7009, 9.7897)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A56 #2A9F73
analogous
#9F2A91 #9F2A56 #9F392A
triadic
#9F2A56 #569F2A #2A569F
tetradic
#9F2A56 #919F2A #2A9F73 #392A9F
square
#9F2A56 #919F2A #2A9F73 #392A9F
split-complementary
#9F2A56 #2A9F39 #2A919F
monochromatic
#3E1022 #6F1D3C #9F2A56 #CB3B71 #D86B94

Accessibility & contrast

On white

7.14
#9F2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F2A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A56
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A56#FFFFFF#000000##FFFFFF
##9F2A561.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444957
Deuteranopia (green-blind)
#636053
Tritanopia (blue-blind)
#AD163D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a56;
/* rgb */ color: rgb(159, 42, 86);
/* oklch */ color: oklch(48.0% 0.156 2.4);
Tailwind
colors: {
  custom: {
    50: '#c06e85',
    500: '#9f2a56',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a56;
$custom-light: #c06e85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a56",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 337.436,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47983,
    "c": 0.15606,
    "h": 2.4
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#9F2A56
secondary
#66BF9D
accent
#E1A746
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2A56

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

Preview Lab → · Contrast checker → · Palette generator →

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