#9F2D5E#9F2D5E

#9F2D5E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.155 H 358.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2D5E
RGBrgb(159, 45, 94)
HSLhsl(334, 56%, 40%)
HSVhsv(334, 72%, 62%)
CMYKcmyk(0%, 71.7%, 40.9%, 37.6%)
CIE-LABlab(37.95, 50.60, -1.86)
CIE-LCHlch(37.95, 50.64, 357.90°)
OKLaboklab(48.54% 0.1552 -0.0042)
OKLCHoklch(48.54% 0.155 358.4)
XYZxyz(17.2580, 10.0580, 11.6201)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D5E #2D9F6E
analogous
#9F2D97 #9F2D5E #9F352D
triadic
#9F2D5E #5E9F2D #2D5E9F
tetradic
#9F2D5E #979F2D #2D9F6E #352D9F
square
#9F2D5E #979F2D #2D9F6E #352D9F
split-complementary
#9F2D5E #2D9F35 #2D979F
monochromatic
#401226 #6F2042 #9F2D5E #C9407B #D6709C

Accessibility & contrast

On white

6.97
#9F2D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D5E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D5E#FFFFFF#000000##FFFFFF
##9F2D5E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#63615B
Tritanopia (blue-blind)
#AC1F42
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2d5e;
/* rgb */ color: rgb(159, 45, 94);
/* oklch */ color: oklch(48.5% 0.155 358.4);
Tailwind
colors: {
  custom: {
    50: '#c06f8b',
    500: '#9f2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d5e;
$custom-light: #c06f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d5e",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 334.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.15522,
    "h": 358.4
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#9F2D5E
secondary
#6ABE9A
accent
#DF9E49
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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