#9C256B#9C256B

#9C256B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.168 H 349.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9C256B
RGBrgb(156, 37, 107)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 76%, 61%)
CMYKcmyk(0%, 76.3%, 31.4%, 38.8%)
CIE-LABlab(36.85, 54.08, -11.80)
CIE-LCHlch(36.85, 55.35, 347.69°)
OKLaboklab(47.78% 0.1652 -0.0309)
OKLCHoklch(47.78% 0.168 349.4)
XYZxyz(17.0266, 9.4546, 14.8353)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256B #259C56
analogous
#91259C #9C256B #9C252F
triadic
#9C256B #6B9C25 #256B9C
tetradic
#9C256B #9C9125 #259C56 #252F9C
square
#9C256B #9C9125 #259C56 #252F9C
split-complementary
#9C256B #2F9C25 #259C91
monochromatic
#390E27 #6B1949 #9C256B #CD318D #DA62A8

Accessibility & contrast

On white

7.26
#9C256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9C256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C256B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256B#FFFFFF#000000##FFFFFF
##9C256B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A81E45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256b;
/* rgb */ color: rgb(156, 37, 107);
/* oklch */ color: oklch(47.8% 0.168 349.4);
Tailwind
colors: {
  custom: {
    50: '#bd6c95',
    500: '#9c256b',
    950: '#000000',
  },
}
SCSS
$custom: #9c256b;
$custom-light: #bd6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256b",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 324.706,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.16807,
    "h": 349.4
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#9C256B
secondary
#5EBF86
accent
#E58643
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C256B

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

Preview Lab → · Contrast checker → · Palette generator →

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