#9D2E5C#9D2E5C

#9D2E5C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.151 H 359.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D2E5C
RGBrgb(157, 46, 92)
HSLhsl(335, 55%, 40%)
HSVhsv(335, 71%, 62%)
CMYKcmyk(0%, 70.7%, 41.4%, 38.4%)
CIE-LABlab(37.66, 49.41, -1.05)
CIE-LCHlch(37.66, 49.42, 358.78°)
OKLaboklab(48.24% 0.1514 -0.0022)
OKLCHoklch(48.24% 0.151 359.2)
XYZxyz(16.8146, 9.8969, 11.1480)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E5C #2E9D6F
analogous
#9D2E94 #9D2E5C #9D372E
triadic
#9D2E5C #5C9D2E #2E5C9D
tetradic
#9D2E5C #949D2E #2E9D6F #372E9D
square
#9D2E5C #949D2E #2E9D6F #372E9D
split-complementary
#9D2E5C #2E9D37 #2E949D
monochromatic
#3E1225 #6E2040 #9D2E5C #C74179 #D5709A

Accessibility & contrast

On white

7.05
#9D2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D2E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2E5C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E5C#FFFFFF#000000##FFFFFF
##9D2E5C1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444B5D
Deuteranopia (green-blind)
#626059
Tritanopia (blue-blind)
#AA2041
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2e5c;
/* rgb */ color: rgb(157, 46, 92);
/* oklch */ color: oklch(48.2% 0.151 359.2);
Tailwind
colors: {
  custom: {
    50: '#be6f8a',
    500: '#9d2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e5c;
$custom-light: #be6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e5c",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 335.135,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.15143,
    "h": 359.2
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#9D2E5C
secondary
#6ABD9A
accent
#DEA14A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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