#9D2F5A#9D2F5A

#9D2F5A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.3% C 0.149 H 0.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9D2F5A
RGBrgb(157, 47, 90)
HSLhsl(337, 54%, 40%)
HSVhsv(337, 70%, 62%)
CMYKcmyk(0%, 70.1%, 42.7%, 38.4%)
CIE-LABlab(37.74, 48.80, 0.34)
CIE-LCHlch(37.74, 48.80, 0.40°)
OKLaboklab(48.28% 0.1495 0.0014)
OKLCHoklch(48.28% 0.149 0.6)
XYZxyz(16.7678, 9.9414, 10.7068)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F5A #2F9D72
analogous
#9D2F91 #9D2F5A #9D3B2F
triadic
#9D2F5A #5A9D2F #2F5A9D
tetradic
#9D2F5A #919D2F #2F9D72 #3B2F9D
square
#9D2F5A #919D2F #2F9D72 #3B2F9D
split-complementary
#9D2F5A #2F9D3B #2F919D
monochromatic
#3F1324 #6E213F #9D2F5A #C74376 #D57298

Accessibility & contrast

On white

7.03
#9D2F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D2F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2F5A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F5A#FFFFFF#000000##FFFFFF
##9D2F5A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#636157
Tritanopia (blue-blind)
#AA2141
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2f5a;
/* rgb */ color: rgb(157, 47, 90);
/* oklch */ color: oklch(48.3% 0.149 0.6);
Tailwind
colors: {
  custom: {
    50: '#bf7088',
    500: '#9d2f5a',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f5a;
$custom-light: #bf7088;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f5a",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 336.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.48276,
    "c": 0.14947,
    "h": 0.6
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#9D2F5A
secondary
#6BBC9D
accent
#DDA44B
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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