#9D2758#9D2758

#9D2758 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.158 H 0.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9D2758
RGBrgb(157, 39, 88)
HSLhsl(335, 60%, 38%)
HSVhsv(335, 75%, 62%)
CMYKcmyk(0%, 75.2%, 43.9%, 38.4%)
CIE-LABlab(36.60, 51.58, -0.04)
CIE-LCHlch(36.60, 51.58, 359.96°)
OKLaboklab(47.42% 0.1583 0.0005)
OKLCHoklch(47.42% 0.158 0.2)
XYZxyz(16.3928, 9.3258, 10.1675)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2758 #279D6C
analogous
#9D2793 #9D2758 #9D3127
triadic
#9D2758 #589D27 #27589D
tetradic
#9D2758 #939D27 #279D6C #31279D
square
#9D2758 #939D27 #279D6C #31279D
split-complementary
#9D2758 #279D31 #27939D
monochromatic
#3B0F21 #6C1B3D #9D2758 #CD3574 #D96695

Accessibility & contrast

On white

7.33
#9D2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D2758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2758
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2758#FFFFFF#000000##FFFFFF
##9D27581.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414859
Deuteranopia (green-blind)
#615E55
Tritanopia (blue-blind)
#AA143C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2758;
/* rgb */ color: rgb(157, 39, 88);
/* oklch */ color: oklch(47.4% 0.158 0.2);
Tailwind
colors: {
  custom: {
    50: '#bf6c87',
    500: '#9d2758',
    950: '#000000',
  },
}
SCSS
$custom: #9d2758;
$custom-light: #bf6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2758",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 335.085,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.15827,
    "h": 0.2
  },
  "luminance": 0.09324
}

Semantic roles & 50–950 ramp

primary
#9D2758
secondary
#61BF98
accent
#E3A144
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2758

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

Preview Lab → · Contrast checker → · Palette generator →

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