#9D2F79#9D2F79

#9D2F79 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.165 H 343.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D2F79
RGBrgb(157, 47, 121)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 70.1%, 22.9%, 38.4%)
CIE-LABlab(38.87, 52.59, -17.47)
CIE-LCHlch(38.87, 55.42, 341.62°)
OKLaboklab(49.48% 0.1583 -0.0466)
OKLCHoklch(49.48% 0.165 343.6)
XYZxyz(18.3730, 10.5834, 19.1607)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F79 #2F9D53
analogous
#8A2F9D #9D2F79 #9D2F42
triadic
#9D2F79 #799D2F #2F799D
tetradic
#9D2F79 #9D8A2F #2F9D53 #2F429D
square
#9D2F79 #9D8A2F #2F9D53 #2F429D
split-complementary
#9D2F79 #429D2F #2F9D8A
monochromatic
#3F1330 #6E2155 #9D2F79 #C7439B #D572B4

Accessibility & contrast

On white

6.74
#9D2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F79
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F79#FFFFFF#000000##FFFFFF
##9D2F791.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A72F50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2f79;
/* rgb */ color: rgb(157, 47, 121);
/* oklch */ color: oklch(49.5% 0.165 343.6);
Tailwind
colors: {
  custom: {
    50: '#bd71a0',
    500: '#9d2f79',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f79;
$custom-light: #bd71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f79",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 319.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.16498,
    "h": 343.6
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#9D2F79
secondary
#6BBC86
accent
#DD7B4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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