#9F2C58#9F2C58

#9F2C58 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.154 H 1.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F2C58
RGBrgb(159, 44, 88)
HSLhsl(337, 57%, 40%)
HSVhsv(337, 72%, 62%)
CMYKcmyk(0%, 72.3%, 44.7%, 37.6%)
CIE-LABlab(37.62, 50.36, 1.49)
CIE-LCHlch(37.62, 50.38, 1.70°)
OKLaboklab(48.24% 0.1543 0.0044)
OKLCHoklch(48.24% 0.154 1.6)
XYZxyz(16.9615, 9.8790, 10.2443)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C58 #2C9F73
analogous
#9F2C92 #9F2C58 #9F392C
triadic
#9F2C58 #589F2C #2C589F
tetradic
#9F2C58 #929F2C #2C9F73 #392C9F
square
#9F2C58 #929F2C #2C9F73 #392C9F
split-complementary
#9F2C58 #2C9F39 #2C929F
monochromatic
#3F1123 #6F1F3D #9F2C58 #CA3E74 #D76E96

Accessibility & contrast

On white

7.06
#9F2C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2C58
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C58#FFFFFF#000000##FFFFFF
##9F2C581.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AD1B3E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2c58;
/* rgb */ color: rgb(159, 44, 88);
/* oklch */ color: oklch(48.2% 0.154 1.6);
Tailwind
colors: {
  custom: {
    50: '#c06f87',
    500: '#9f2c58',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c58;
$custom-light: #c06f87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c58",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 337.043,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.15435,
    "h": 1.6
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#9F2C58
secondary
#69BE9D
accent
#E0A648
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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