#9F2A5B#9F2A5B

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

Color values

HEX#9F2A5B
RGBrgb(159, 42, 91)
HSLhsl(335, 58%, 39%)
HSVhsv(335, 74%, 62%)
CMYKcmyk(0%, 73.6%, 42.8%, 37.6%)
CIE-LABlab(37.45, 51.40, -0.67)
CIE-LCHlch(37.45, 51.40, 359.25°)
OKLaboklab(48.15% 0.1577 -0.0011)
OKLCHoklch(48.15% 0.158 359.6)
XYZxyz(17.0156, 9.7843, 10.8880)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A5B #2A9F6E
analogous
#9F2A96 #9F2A5B #9F342A
triadic
#9F2A5B #5B9F2A #2A5B9F
tetradic
#9F2A5B #969F2A #2A9F6E #342A9F
square
#9F2A5B #969F2A #2A9F6E #342A9F
split-complementary
#9F2A5B #2A9F34 #2A969F
monochromatic
#3E1024 #6F1D3F #9F2A5B #CB3B77 #D86B99

Accessibility & contrast

On white

7.10
#9F2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2A5B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A5B#FFFFFF#000000##FFFFFF
##9F2A5B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#626058
Tritanopia (blue-blind)
#AC193F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2a5b;
/* rgb */ color: rgb(159, 42, 91);
/* oklch */ color: oklch(48.1% 0.158 359.6);
Tailwind
colors: {
  custom: {
    50: '#c06e89',
    500: '#9f2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a5b;
$custom-light: #c06e89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a5b",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 334.872,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48145,
    "c": 0.15768,
    "h": 359.6
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#9F2A5B
secondary
#66BF9A
accent
#E1A046
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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