#9D2E7B#9D2E7B

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

Color values

HEX#9D2E7B
RGBrgb(157, 46, 123)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 70.7%, 21.7%, 38.4%)
CIE-LABlab(38.82, 53.26, -18.79)
CIE-LCHlch(38.82, 56.47, 340.56°)
OKLaboklab(49.47% 0.1598 -0.0503)
OKLCHoklch(49.47% 0.168 342.5)
XYZxyz(18.4574, 10.5540, 19.8001)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E7B #2E9D50
analogous
#872E9D #9D2E7B #9D2E44
triadic
#9D2E7B #7B9D2E #2E7B9D
tetradic
#9D2E7B #9D872E #2E9D50 #2E449D
square
#9D2E7B #9D872E #2E9D50 #2E449D
split-complementary
#9D2E7B #449D2E #2E9D87
monochromatic
#3E1231 #6E2056 #9D2E7B #C7419E #D570B6

Accessibility & contrast

On white

6.75
#9D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2E7B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E7B#FFFFFF#000000##FFFFFF
##9D2E7B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A72F50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e7b;
/* rgb */ color: rgb(157, 46, 123);
/* oklch */ color: oklch(49.5% 0.168 342.5);
Tailwind
colors: {
  custom: {
    50: '#bd70a1',
    500: '#9d2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e7b;
$custom-light: #bd70a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e7b",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 318.378,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.16756,
    "h": 342.5
  },
  "luminance": 0.10552
}

Semantic roles & 50–950 ramp

primary
#9D2E7B
secondary
#6ABD83
accent
#DE774A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9D2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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