#9F2D56#9F2D56

#9F2D56 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.153 H 3.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9F2D56
RGBrgb(159, 45, 86)
HSLhsl(338, 56%, 40%)
HSVhsv(338, 72%, 62%)
CMYKcmyk(0%, 71.7%, 45.9%, 37.6%)
CIE-LABlab(37.70, 49.78, 2.88)
CIE-LCHlch(37.70, 49.87, 3.31°)
OKLaboklab(48.28% 0.1524 0.008)
OKLCHoklch(48.28% 0.153 3)
XYZxyz(16.9175, 9.9218, 9.8265)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D56 #2D9F76
analogous
#9F2D8F #9F2D56 #9F3D2D
triadic
#9F2D56 #569F2D #2D569F
tetradic
#9F2D56 #8F9F2D #2D9F76 #3D2D9F
square
#9F2D56 #8F9F2D #2D9F76 #3D2D9F
split-complementary
#9F2D56 #2D9F3D #2D8F9F
monochromatic
#401222 #6F203C #9F2D56 #C94071 #D67095

Accessibility & contrast

On white

7.04
#9F2D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2D56
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D56#FFFFFF#000000##FFFFFF
##9F2D561.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B57
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#AD1B3E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2d56;
/* rgb */ color: rgb(159, 45, 86);
/* oklch */ color: oklch(48.3% 0.153 3.0);
Tailwind
colors: {
  custom: {
    50: '#c06f85',
    500: '#9f2d56',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d56;
$custom-light: #c06f85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d56",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 338.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.15257,
    "h": 3
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#9F2D56
secondary
#6ABEA0
accent
#DFA949
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2D56

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

Preview Lab → · Contrast checker → · Palette generator →

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