#9F2D6E#9F2D6E

#9F2D6E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.163 H 349.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F2D6E
RGBrgb(159, 45, 110)
HSLhsl(326, 56%, 40%)
HSVhsv(326, 72%, 62%)
CMYKcmyk(0%, 71.7%, 30.8%, 37.6%)
CIE-LABlab(38.51, 52.46, -11.12)
CIE-LCHlch(38.51, 53.62, 348.03°)
OKLaboklab(49.14% 0.16 -0.029)
OKLCHoklch(49.14% 0.163 349.7)
XYZxyz(18.0519, 10.3755, 15.8008)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D6E #2D9F5E
analogous
#972D9F #9F2D6E #9F2D35
triadic
#9F2D6E #6E9F2D #2D6E9F
tetradic
#9F2D6E #9F972D #2D9F5E #2D359F
square
#9F2D6E #9F972D #2D9F5E #2D359F
split-complementary
#9F2D6E #359F2D #2D9F97
monochromatic
#40122C #6F204D #9F2D6E #C9408E #D670AA

Accessibility & contrast

On white

6.83
#9F2D6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2D6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D6E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D6E#FFFFFF#000000##FFFFFF
##9F2D6E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#AB2749
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d6e;
/* rgb */ color: rgb(159, 45, 110);
/* oklch */ color: oklch(49.1% 0.163 349.7);
Tailwind
colors: {
  custom: {
    50: '#bf7097',
    500: '#9f2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d6e;
$custom-light: #bf7097;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d6e",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 325.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49136,
    "c": 0.16257,
    "h": 349.7
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#9F2D6E
secondary
#6ABE8E
accent
#DF8949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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