#9D256C#9D256C

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

Color values

HEX#9D256C
RGBrgb(157, 37, 108)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 76%, 62%)
CMYKcmyk(0%, 76.4%, 31.2%, 38.4%)
CIE-LABlab(37.07, 54.47, -12.07)
CIE-LCHlch(37.07, 55.79, 347.50°)
OKLaboklab(47.99% 0.1664 -0.0316)
OKLCHoklch(47.99% 0.169 349.2)
XYZxyz(17.2739, 9.5759, 15.1231)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D256C #259D56
analogous
#92259D #9D256C #9D2530
triadic
#9D256C #6C9D25 #256C9D
tetradic
#9D256C #9D9225 #259D56 #25309D
square
#9D256C #9D9225 #259D56 #25309D
split-complementary
#9D256C #309D25 #259D92
monochromatic
#3A0E28 #6B194A #9D256C #CE318E #DA62A9

Accessibility & contrast

On white

7.20
#9D256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D256C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D256C#FFFFFF#000000##FFFFFF
##9D256C1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6E
Deuteranopia (green-blind)
#5B5F69
Tritanopia (blue-blind)
#A91E45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d256c;
/* rgb */ color: rgb(157, 37, 108);
/* oklch */ color: oklch(48.0% 0.169 349.2);
Tailwind
colors: {
  custom: {
    50: '#be6c96',
    500: '#9d256c',
    950: '#000000',
  },
}
SCSS
$custom: #9d256c;
$custom-light: #be6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d256c",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 324.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.16934,
    "h": 349.2
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#9D256C
secondary
#5EBF86
accent
#E58543
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D256C

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

Preview Lab → · Contrast checker → · Palette generator →

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