#9F2557#9F2557

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

Color values

HEX#9F2557
RGBrgb(159, 37, 87)
HSLhsl(335, 62%, 38%)
HSVhsv(335, 77%, 62%)
CMYKcmyk(0%, 76.7%, 45.3%, 37.6%)
CIE-LABlab(36.71, 52.73, 0.81)
CIE-LCHlch(36.71, 52.73, 0.88°)
OKLaboklab(47.56% 0.1618 0.0027)
OKLCHoklch(47.56% 0.162 0.9)
XYZxyz(16.6813, 9.3844, 9.9479)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2557 #259F6D
analogous
#9F2594 #9F2557 #9F3025
triadic
#9F2557 #579F25 #25579F
tetradic
#9F2557 #949F25 #259F6D #30259F
square
#9F2557 #949F25 #259F6D #30259F
split-complementary
#9F2557 #259F30 #25949F
monochromatic
#3C0E21 #6D193C #9F2557 #CF3272 #DB6494

Accessibility & contrast

On white

7.30
#9F2557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2557
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2557#FFFFFF#000000##FFFFFF
##9F25571.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#625F54
Tritanopia (blue-blind)
#AD0D3B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2557;
/* rgb */ color: rgb(159, 37, 87);
/* oklch */ color: oklch(47.6% 0.162 0.9);
Tailwind
colors: {
  custom: {
    50: '#c16b86',
    500: '#9f2557',
    950: '#000000',
  },
}
SCSS
$custom: #9f2557;
$custom-light: #c16b86;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2557",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 87
  },
  "hsl": {
    "h": 335.41,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.16184,
    "h": 0.9
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#9F2557
secondary
#5FC099
accent
#E5A342
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2557

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

Preview Lab → · Contrast checker → · Palette generator →

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