#9F2A5A#9F2A5A

#9F2A5A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.157 H 0.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F2A5A
RGBrgb(159, 42, 90)
HSLhsl(335, 58%, 39%)
HSVhsv(335, 74%, 62%)
CMYKcmyk(0%, 73.6%, 43.4%, 37.6%)
CIE-LABlab(37.42, 51.30, -0.08)
CIE-LCHlch(37.42, 51.30, 359.91°)
OKLaboklab(48.11% 0.1573 0.0004)
OKLCHoklch(48.11% 0.157 0.1)
XYZxyz(16.9728, 9.7672, 10.6624)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A5A #2A9F6F
analogous
#9F2A95 #9F2A5A #9F352A
triadic
#9F2A5A #5A9F2A #2A5A9F
tetradic
#9F2A5A #959F2A #2A9F6F #352A9F
square
#9F2A5A #959F2A #2A9F6F #352A9F
split-complementary
#9F2A5A #2A9F35 #2A959F
monochromatic
#3E1023 #6F1D3F #9F2A5A #CB3B76 #D86B98

Accessibility & contrast

On white

7.11
#9F2A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2A5A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A5A#FFFFFF#000000##FFFFFF
##9F2A5A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#636057
Tritanopia (blue-blind)
#AD193E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a5a;
/* rgb */ color: rgb(159, 42, 90);
/* oklch */ color: oklch(48.1% 0.157 0.1);
Tailwind
colors: {
  custom: {
    50: '#c06e88',
    500: '#9f2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a5a;
$custom-light: #c06e88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a5a",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 335.385,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.15734,
    "h": 0.1
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#9F2A5A
secondary
#66BF9A
accent
#E1A246
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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