#9D256B#9D256B

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

Color values

HEX#9D256B
RGBrgb(157, 37, 107)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 76%, 62%)
CMYKcmyk(0%, 76.4%, 31.8%, 38.4%)
CIE-LABlab(37.03, 54.35, -11.50)
CIE-LCHlch(37.03, 55.55, 348.05°)
OKLaboklab(47.95% 0.1661 -0.03)
OKLCHoklch(47.95% 0.169 349.7)
XYZxyz(17.2210, 9.5548, 14.8444)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D256B #259D57
analogous
#93259D #9D256B #9D252F
triadic
#9D256B #6B9D25 #256B9D
tetradic
#9D256B #9D9325 #259D57 #252F9D
square
#9D256B #9D9325 #259D57 #252F9D
split-complementary
#9D256B #2F9D25 #259D93
monochromatic
#3A0E27 #6B1949 #9D256B #CE318D #DA62A8

Accessibility & contrast

On white

7.22
#9D256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D256B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D256B#FFFFFF#000000##FFFFFF
##9D256B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5C5F68
Tritanopia (blue-blind)
#A91D45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d256b;
/* rgb */ color: rgb(157, 37, 107);
/* oklch */ color: oklch(48.0% 0.169 349.7);
Tailwind
colors: {
  custom: {
    50: '#be6c95',
    500: '#9d256b',
    950: '#000000',
  },
}
SCSS
$custom: #9d256b;
$custom-light: #be6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9d256b",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 325,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47951,
    "c": 0.16881,
    "h": 349.7
  },
  "luminance": 0.09553
}

Semantic roles & 50–950 ramp

primary
#9D256B
secondary
#5EBF87
accent
#E58643
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D256B

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

Preview Lab → · Contrast checker → · Palette generator →

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