#9F2D5F#9F2D5F

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

Color values

HEX#9F2D5F
RGBrgb(159, 45, 95)
HSLhsl(334, 56%, 40%)
HSVhsv(334, 72%, 62%)
CMYKcmyk(0%, 71.7%, 40.3%, 37.6%)
CIE-LABlab(37.98, 50.71, -2.44)
CIE-LCHlch(37.98, 50.77, 357.24°)
OKLaboklab(48.57% 0.1555 -0.0058)
OKLCHoklch(48.57% 0.156 357.9)
XYZxyz(17.3032, 10.0760, 11.8579)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D5F #2D9F6D
analogous
#9F2D98 #9F2D5F #9F342D
triadic
#9F2D5F #5F9F2D #2D5F9F
tetradic
#9F2D5F #989F2D #2D9F6D #342D9F
square
#9F2D5F #989F2D #2D9F6D #342D9F
split-complementary
#9F2D5F #2D9F34 #2D989F
monochromatic
#401226 #6F2043 #9F2D5F #C9407C #D6709D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2D5F#FFFFFF#000000##FFFFFF
##9F2D5F1.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)
#444C60
Deuteranopia (green-blind)
#63615C
Tritanopia (blue-blind)
#AC2042
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2d5f;
/* rgb */ color: rgb(159, 45, 95);
/* oklch */ color: oklch(48.6% 0.156 357.9);
Tailwind
colors: {
  custom: {
    50: '#c06f8c',
    500: '#9f2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d5f;
$custom-light: #c06f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d5f",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 333.684,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.15561,
    "h": 357.9
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#9F2D5F
secondary
#6ABE99
accent
#DF9D49
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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