#9C256D#9C256D

#9C256D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.169 H 348.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9C256D
RGBrgb(156, 37, 109)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 76%, 61%)
CMYKcmyk(0%, 76.3%, 30.1%, 38.8%)
CIE-LABlab(36.92, 54.32, -12.95)
CIE-LCHlch(36.92, 55.85, 346.60°)
OKLaboklab(47.87% 0.1657 -0.034)
OKLCHoklch(47.87% 0.169 348.4)
XYZxyz(17.1331, 9.4971, 15.3959)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256D #259C54
analogous
#8F259C #9C256D #9C2532
triadic
#9C256D #6D9C25 #256D9C
tetradic
#9C256D #9C8F25 #259C54 #25329C
square
#9C256D #9C8F25 #259C54 #25329C
split-complementary
#9C256D #329C25 #259C8F
monochromatic
#390E28 #6B194A #9C256D #CD3190 #DA62AA

Accessibility & contrast

On white

7.24
#9C256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9C256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C256D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256D#FFFFFF#000000##FFFFFF
##9C256D1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A6F
Deuteranopia (green-blind)
#5A5E6A
Tritanopia (blue-blind)
#A71F46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256d;
/* rgb */ color: rgb(156, 37, 109);
/* oklch */ color: oklch(47.9% 0.169 348.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c97',
    500: '#9c256d',
    950: '#000000',
  },
}
SCSS
$custom: #9c256d;
$custom-light: #bd6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256d",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 323.697,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.16915,
    "h": 348.4
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#9C256D
secondary
#5EBF84
accent
#E58343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C256D

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

Preview Lab → · Contrast checker → · Palette generator →

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