#9D2E58#9D2E58

#9D2E58 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.150 H 1.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9D2E58
RGBrgb(157, 46, 88)
HSLhsl(337, 55%, 40%)
HSVhsv(337, 71%, 62%)
CMYKcmyk(0%, 70.7%, 43.9%, 38.4%)
CIE-LABlab(37.53, 48.99, 1.31)
CIE-LCHlch(37.53, 49.00, 1.54°)
OKLaboklab(48.11% 0.15 0.004)
OKLCHoklch(48.11% 0.15 1.5)
XYZxyz(16.6443, 9.8288, 10.2513)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2E58 #2E9D73
analogous
#9D2E90 #9D2E58 #9D3B2E
triadic
#9D2E58 #589D2E #2E589D
tetradic
#9D2E58 #909D2E #2E9D73 #3B2E9D
square
#9D2E58 #909D2E #2E9D73 #3B2E9D
split-complementary
#9D2E58 #2E9D3B #2E909D
monochromatic
#3E1223 #6E203D #9D2E58 #C74174 #D57096

Accessibility & contrast

On white

7.08
#9D2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2E58
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2E58#FFFFFF#000000##FFFFFF
##9D2E581.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B59
Deuteranopia (green-blind)
#636055
Tritanopia (blue-blind)
#AA1F3F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2e58;
/* rgb */ color: rgb(157, 46, 88);
/* oklch */ color: oklch(48.1% 0.150 1.5);
Tailwind
colors: {
  custom: {
    50: '#bf6f87',
    500: '#9d2e58',
    950: '#000000',
  },
}
SCSS
$custom: #9d2e58;
$custom-light: #bf6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2e58",
  "rgb": {
    "r": 157,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 337.297,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.15006,
    "h": 1.5
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#9D2E58
secondary
#6ABD9D
accent
#DEA64A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9D2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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