#9D2F5E#9D2F5E

#9D2F5E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.151 H 358.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9D2F5E
RGBrgb(157, 47, 94)
HSLhsl(334, 54%, 40%)
HSVhsv(334, 70%, 62%)
CMYKcmyk(0%, 70.1%, 40.1%, 38.4%)
CIE-LABlab(37.86, 49.23, -2.02)
CIE-LCHlch(37.86, 49.27, 357.65°)
OKLaboklab(48.41% 0.1508 -0.0047)
OKLCHoklch(48.41% 0.151 358.2)
XYZxyz(16.9427, 10.0113, 11.6277)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F5E #2F9D6E
analogous
#9D2F95 #9D2F5E #9D372F
triadic
#9D2F5E #5E9D2F #2F5E9D
tetradic
#9D2F5E #959D2F #2F9D6E #372F9D
square
#9D2F5E #959D2F #2F9D6E #372F9D
split-complementary
#9D2F5E #2F9D37 #2F959D
monochromatic
#3F1326 #6E2142 #9D2F5E #C7437B #D5729C

Accessibility & contrast

On white

7.00
#9D2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D2F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F5E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F5E#FFFFFF#000000##FFFFFF
##9D2F5E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#62615B
Tritanopia (blue-blind)
#AA2342
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2f5e;
/* rgb */ color: rgb(157, 47, 94);
/* oklch */ color: oklch(48.4% 0.151 358.2);
Tailwind
colors: {
  custom: {
    50: '#be708b',
    500: '#9d2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f5e;
$custom-light: #be708b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f5e",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 334.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.15091,
    "h": 358.2
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#9D2F5E
secondary
#6BBC9A
accent
#DD9F4B
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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