#9F2558#9F2558

#9F2558 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.162 H 0.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9F2558
RGBrgb(159, 37, 88)
HSLhsl(335, 62%, 38%)
HSVhsv(335, 77%, 62%)
CMYKcmyk(0%, 76.7%, 44.7%, 37.6%)
CIE-LABlab(36.74, 52.82, 0.21)
CIE-LCHlch(36.74, 52.82, 0.23°)
OKLaboklab(47.59% 0.1622 0.0011)
OKLCHoklch(47.59% 0.162 0.4)
XYZxyz(16.7224, 9.4008, 10.1646)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2558 #259F6C
analogous
#9F2595 #9F2558 #9F2F25
triadic
#9F2558 #589F25 #25589F
tetradic
#9F2558 #959F25 #259F6C #2F259F
square
#9F2558 #959F25 #259F6C #2F259F
split-complementary
#9F2558 #259F2F #25959F
monochromatic
#3C0E21 #6D193D #9F2558 #CF3274 #DB6495

Accessibility & contrast

On white

7.29
#9F2558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F2558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2558
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2558#FFFFFF#000000##FFFFFF
##9F25581.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#625F55
Tritanopia (blue-blind)
#AD0E3B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2558;
/* rgb */ color: rgb(159, 37, 88);
/* oklch */ color: oklch(47.6% 0.162 0.4);
Tailwind
colors: {
  custom: {
    50: '#c16b87',
    500: '#9f2558',
    950: '#000000',
  },
}
SCSS
$custom: #9f2558;
$custom-light: #c16b87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2558",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 334.918,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.16216,
    "h": 0.4
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#9F2558
secondary
#5FC098
accent
#E5A142
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2558

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

Preview Lab → · Contrast checker → · Palette generator →

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