#9F2A55#9F2A55

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

Color values

HEX#9F2A55
RGBrgb(159, 42, 85)
HSLhsl(338, 58%, 39%)
HSVhsv(338, 74%, 62%)
CMYKcmyk(0%, 73.6%, 46.5%, 37.6%)
CIE-LABlab(37.27, 50.80, 2.90)
CIE-LCHlch(37.27, 50.89, 3.26°)
OKLaboklab(47.95% 0.1556 0.008)
OKLCHoklch(47.95% 0.156 2.9)
XYZxyz(16.7671, 9.6849, 9.5790)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A55 #2A9F74
analogous
#9F2A90 #9F2A55 #9F3A2A
triadic
#9F2A55 #559F2A #2A559F
tetradic
#9F2A55 #909F2A #2A9F74 #3A2A9F
square
#9F2A55 #909F2A #2A9F74 #3A2A9F
split-complementary
#9F2A55 #2A9F3A #2A909F
monochromatic
#3E1021 #6F1D3B #9F2A55 #CB3B70 #D86B93

Accessibility & contrast

On white

7.15
#9F2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2A55
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A55#FFFFFF#000000##FFFFFF
##9F2A551.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444956
Deuteranopia (green-blind)
#646052
Tritanopia (blue-blind)
#AD163C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a55;
/* rgb */ color: rgb(159, 42, 85);
/* oklch */ color: oklch(48.0% 0.156 2.9);
Tailwind
colors: {
  custom: {
    50: '#c16e84',
    500: '#9f2a55',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a55;
$custom-light: #c16e84;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a55",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 337.949,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.15578,
    "h": 2.9
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#9F2A55
secondary
#66BF9E
accent
#E1A846
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F2A55

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

Preview Lab → · Contrast checker → · Palette generator →

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