#9F2D58#9F2D58

#9F2D58 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.153 H 1.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F2D58
RGBrgb(159, 45, 88)
HSLhsl(337, 56%, 40%)
HSVhsv(337, 72%, 62%)
CMYKcmyk(0%, 71.7%, 44.7%, 37.6%)
CIE-LABlab(37.76, 49.98, 1.69)
CIE-LCHlch(37.76, 50.01, 1.94°)
OKLaboklab(48.34% 0.1531 0.0049)
OKLCHoklch(48.34% 0.153 1.8)
XYZxyz(16.9992, 9.9544, 10.2569)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D58 #2D9F74
analogous
#9F2D91 #9F2D58 #9F3B2D
triadic
#9F2D58 #589F2D #2D589F
tetradic
#9F2D58 #919F2D #2D9F74 #3B2D9F
square
#9F2D58 #919F2D #2D9F74 #3B2D9F
split-complementary
#9F2D58 #2D9F3B #2D919F
monochromatic
#401223 #6F203E #9F2D58 #C94074 #D67097

Accessibility & contrast

On white

7.02
#9F2D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F2D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D58
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D58#FFFFFF#000000##FFFFFF
##9F2D581.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AD1C3F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2d58;
/* rgb */ color: rgb(159, 45, 88);
/* oklch */ color: oklch(48.3% 0.153 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06f87',
    500: '#9f2d58',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d58;
$custom-light: #c06f87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d58",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 88
  },
  "hsl": {
    "h": 337.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.15316,
    "h": 1.8
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9F2D58
secondary
#6ABE9E
accent
#DFA649
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2D58

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

Preview Lab → · Contrast checker → · Palette generator →

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