#9D2E7C#9D2E7C

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

Color values

HEX#9D2E7C
RGBrgb(157, 46, 124)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 70.7%, 21%, 38.4%)
CIE-LABlab(38.86, 53.40, -19.35)
CIE-LCHlch(38.86, 56.79, 340.08°)
OKLaboklab(49.52% 0.16 -0.0519)
OKLCHoklch(49.52% 0.168 342)
XYZxyz(18.5203, 10.5791, 20.1315)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E7C #2E9D4F
analogous
#872E9D #9D2E7C #9D2E44
triadic
#9D2E7C #7C9D2E #2E7C9D
tetradic
#9D2E7C #9D872E #2E9D4F #2E449D
square
#9D2E7C #9D872E #2E9D4F #2E449D
split-complementary
#9D2E7C #449D2E #2E9D87
monochromatic
#3E1231 #6E2057 #9D2E7C #C7419F #D570B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2E7C#FFFFFF#000000##FFFFFF
##9D2E7C1.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)
#37507E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A72F51
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2e7c;
/* rgb */ color: rgb(157, 46, 124);
/* oklch */ color: oklch(49.5% 0.168 342.0);
Tailwind
colors: {
  custom: {
    50: '#bd70a2',
    500: '#9d2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e7c;
$custom-light: #bd70a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e7c",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 317.838,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.16822,
    "h": 342
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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