#9D2F75#9D2F75

#9D2F75 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.162 H 345.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D2F75
RGBrgb(157, 47, 117)
HSLhsl(322, 54%, 40%)
HSVhsv(322, 70%, 62%)
CMYKcmyk(0%, 70.1%, 25.5%, 38.4%)
CIE-LABlab(38.70, 52.05, -15.24)
CIE-LCHlch(38.70, 54.23, 343.68°)
OKLaboklab(49.3% 0.1574 -0.0404)
OKLCHoklch(49.3% 0.162 345.6)
XYZxyz(18.1328, 10.4874, 17.8955)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F75 #2F9D57
analogous
#8E2F9D #9D2F75 #9D2F3E
triadic
#9D2F75 #759D2F #2F759D
tetradic
#9D2F75 #9D8E2F #2F9D57 #2F3E9D
square
#9D2F75 #9D8E2F #2F9D57 #2F3E9D
split-complementary
#9D2F75 #3E9D2F #2F9D8E
monochromatic
#3F132F #6E2152 #9D2F75 #C74397 #D572B1

Accessibility & contrast

On white

6.78
#9D2F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2F75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F75
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F75#FFFFFF#000000##FFFFFF
##9D2F751.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F77
Deuteranopia (green-blind)
#5C6272
Tritanopia (blue-blind)
#A82D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f75;
/* rgb */ color: rgb(157, 47, 117);
/* oklch */ color: oklch(49.3% 0.162 345.6);
Tailwind
colors: {
  custom: {
    50: '#be719c',
    500: '#9d2f75',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f75;
$custom-light: #be719c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f75",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 321.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.16249,
    "h": 345.6
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#9D2F75
secondary
#6BBC89
accent
#DD804B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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