#9F2A58#9F2A58

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

Color values

HEX#9F2A58
RGBrgb(159, 42, 88)
HSLhsl(336, 58%, 39%)
HSVhsv(336, 74%, 62%)
CMYKcmyk(0%, 73.6%, 44.7%, 37.6%)
CIE-LABlab(37.36, 51.10, 1.11)
CIE-LCHlch(37.36, 51.11, 1.24°)
OKLaboklab(48.05% 0.1566 0.0034)
OKLCHoklch(48.05% 0.157 1.3)
XYZxyz(16.8888, 9.7336, 10.2200)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A58 #2A9F71
analogous
#9F2A93 #9F2A58 #9F362A
triadic
#9F2A58 #589F2A #2A589F
tetradic
#9F2A58 #939F2A #2A9F71 #362A9F
square
#9F2A58 #939F2A #2A9F71 #362A9F
split-complementary
#9F2A58 #2A9F36 #2A939F
monochromatic
#3E1022 #6F1D3D #9F2A58 #CB3B74 #D86B96

Accessibility & contrast

On white

7.13
#9F2A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A58
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A58#FFFFFF#000000##FFFFFF
##9F2A581.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#AD173D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a58;
/* rgb */ color: rgb(159, 42, 88);
/* oklch */ color: oklch(48.0% 0.157 1.3);
Tailwind
colors: {
  custom: {
    50: '#c06e87',
    500: '#9f2a58',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a58;
$custom-light: #c06e87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a58",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 336.41,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.15668,
    "h": 1.3
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#9F2A58
secondary
#66BF9C
accent
#E1A446
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2A58

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

Preview Lab → · Contrast checker → · Palette generator →

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