#9F2A57#9F2A57

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

Color values

HEX#9F2A57
RGBrgb(159, 42, 87)
HSLhsl(337, 58%, 39%)
HSVhsv(337, 74%, 62%)
CMYKcmyk(0%, 73.6%, 45.3%, 37.6%)
CIE-LABlab(37.33, 51.00, 1.70)
CIE-LCHlch(37.33, 51.03, 1.91°)
OKLaboklab(48.01% 0.1563 0.005)
OKLCHoklch(48.01% 0.156 1.8)
XYZxyz(16.8476, 9.7172, 10.0034)
Luminance0.0972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A57 #2A9F72
analogous
#9F2A92 #9F2A57 #9F382A
triadic
#9F2A57 #579F2A #2A579F
tetradic
#9F2A57 #929F2A #2A9F72 #382A9F
square
#9F2A57 #929F2A #2A9F72 #382A9F
split-complementary
#9F2A57 #2A9F38 #2A929F
monochromatic
#3E1022 #6F1D3D #9F2A57 #CB3B72 #D86B95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2A57#FFFFFF#000000##FFFFFF
##9F2A571.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)
#444958
Deuteranopia (green-blind)
#636054
Tritanopia (blue-blind)
#AD173D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a57;
/* rgb */ color: rgb(159, 42, 87);
/* oklch */ color: oklch(48.0% 0.156 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06e86',
    500: '#9f2a57',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a57;
$custom-light: #c06e86;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a57",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 87
  },
  "hsl": {
    "h": 336.923,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.15637,
    "h": 1.8
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2A57

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

Preview Lab → · Contrast checker → · Palette generator →

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