#9D256E#9D256E

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

Color values

HEX#9D256E
RGBrgb(157, 37, 110)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 76%, 62%)
CMYKcmyk(0%, 76.4%, 29.9%, 38.4%)
CIE-LABlab(37.15, 54.71, -13.22)
CIE-LCHlch(37.15, 56.29, 346.42°)
OKLaboklab(48.08% 0.1668 -0.0348)
OKLCHoklch(48.08% 0.17 348.2)
XYZxyz(17.3816, 9.6190, 15.6901)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D256E #259D54
analogous
#90259D #9D256E #9D2532
triadic
#9D256E #6E9D25 #256E9D
tetradic
#9D256E #9D9025 #259D54 #25329D
square
#9D256E #9D9025 #259D54 #25329D
split-complementary
#9D256E #329D25 #259D90
monochromatic
#3A0E29 #6B194B #9D256E #CE3191 #DA62AB

Accessibility & contrast

On white

7.18
#9D256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D256E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D256E#FFFFFF#000000##FFFFFF
##9D256E1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A70
Deuteranopia (green-blind)
#5B5F6B
Tritanopia (blue-blind)
#A81F46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d256e;
/* rgb */ color: rgb(157, 37, 110);
/* oklch */ color: oklch(48.1% 0.170 348.2);
Tailwind
colors: {
  custom: {
    50: '#be6c97',
    500: '#9d256e',
    950: '#000000',
  },
}
SCSS
$custom: #9d256e;
$custom-light: #be6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d256e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 323.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.17042,
    "h": 348.2
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#9D256E
secondary
#5EBF84
accent
#E58243
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D256E

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

Preview Lab → · Contrast checker → · Palette generator →

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