#9D2658#9D2658

#9D2658 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.159 H 0.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9D2658
RGBrgb(157, 38, 88)
HSLhsl(335, 61%, 38%)
HSVhsv(335, 76%, 62%)
CMYKcmyk(0%, 75.8%, 43.9%, 38.4%)
CIE-LABlab(36.48, 51.92, -0.22)
CIE-LCHlch(36.48, 51.92, 359.76°)
OKLaboklab(47.33% 0.1594 0)
OKLCHoklch(47.33% 0.159 0)
XYZxyz(16.3604, 9.2610, 10.1567)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2658 #269D6B
analogous
#9D2693 #9D2658 #9D2F26
triadic
#9D2658 #589D26 #26589D
tetradic
#9D2658 #939D26 #269D6B #2F269D
square
#9D2658 #939D26 #269D6B #2F269D
split-complementary
#9D2658 #269D2F #26939D
monochromatic
#3A0E21 #6C1A3C #9D2658 #CE3374 #D96495

Accessibility & contrast

On white

7.36
#9D2658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D2658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2658
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2658#FFFFFF#000000##FFFFFF
##9D26581.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2658;
/* rgb */ color: rgb(157, 38, 88);
/* oklch */ color: oklch(47.3% 0.159 0.0);
Tailwind
colors: {
  custom: {
    50: '#bf6c87',
    500: '#9d2658',
    950: '#000000',
  },
}
SCSS
$custom: #9d2658;
$custom-light: #bf6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2658",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 334.79,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47331,
    "c": 0.15937,
    "h": 0
  },
  "luminance": 0.09259
}

Semantic roles & 50–950 ramp

primary
#9D2658
secondary
#60BF97
accent
#E4A144
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2658

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

Preview Lab → · Contrast checker → · Palette generator →

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