#9D256D#9D256D

#9D256D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.170 H 348.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9D256D
RGBrgb(157, 37, 109)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 76%, 62%)
CMYKcmyk(0%, 76.4%, 30.6%, 38.4%)
CIE-LABlab(37.11, 54.59, -12.65)
CIE-LCHlch(37.11, 56.03, 346.96°)
OKLaboklab(48.03% 0.1666 -0.0332)
OKLCHoklch(48.03% 0.17 348.7)
XYZxyz(17.3274, 9.5973, 15.4050)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D256D #259D55
analogous
#91259D #9D256D #9D2531
triadic
#9D256D #6D9D25 #256D9D
tetradic
#9D256D #9D9125 #259D55 #25319D
square
#9D256D #9D9125 #259D55 #25319D
split-complementary
#9D256D #319D25 #259D91
monochromatic
#3A0E28 #6B194B #9D256D #CE318F #DA62AA

Accessibility & contrast

On white

7.19
#9D256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9D256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D256D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D256D#FFFFFF#000000##FFFFFF
##9D256D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#A91F46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d256d;
/* rgb */ color: rgb(157, 37, 109);
/* oklch */ color: oklch(48.0% 0.170 348.7);
Tailwind
colors: {
  custom: {
    50: '#be6c97',
    500: '#9d256d',
    950: '#000000',
  },
}
SCSS
$custom: #9d256d;
$custom-light: #be6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d256d",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 324,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48034,
    "c": 0.16988,
    "h": 348.7
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#9D256D
secondary
#5EBF85
accent
#E58443
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D256D

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

Preview Lab → · Contrast checker → · Palette generator →

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