#9F2E7D#9F2E7D

#9F2E7D is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.170 H 342.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F2E7D
RGBrgb(159, 46, 125)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 71.1%, 21.4%, 37.6%)
CIE-LABlab(39.25, 54.07, -19.33)
CIE-LCHlch(39.25, 57.42, 340.32°)
OKLaboklab(49.88% 0.1622 -0.0518)
OKLCHoklch(49.88% 0.17 342.3)
XYZxyz(18.9773, 10.8075, 20.4847)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E7D #2E9F50
analogous
#882E9F #9F2E7D #9F2E45
triadic
#9F2E7D #7D9F2E #2E7D9F
tetradic
#9F2E7D #9F882E #2E9F50 #2E459F
square
#9F2E7D #9F882E #2E9F50 #2E459F
split-complementary
#9F2E7D #459F2E #2E9F88
monochromatic
#401332 #702058 #9F2E7D #C842A0 #D671B8

Accessibility & contrast

On white

6.64
#9F2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E7D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E7D#FFFFFF#000000##FFFFFF
##9F2E7D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5B637A
Tritanopia (blue-blind)
#A92F51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e7d;
/* rgb */ color: rgb(159, 46, 125);
/* oklch */ color: oklch(49.9% 0.170 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf71a2',
    500: '#9f2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e7d;
$custom-light: #bf71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e7d",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 318.053,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49882,
    "c": 0.17027,
    "h": 342.3
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#9F2E7D
secondary
#6BBE84
accent
#DE7649
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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