#9C256A#9C256A

#9C256A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.168 H 349.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9C256A
RGBrgb(156, 37, 106)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 76%, 61%)
CMYKcmyk(0%, 76.3%, 32.1%, 38.8%)
CIE-LABlab(36.81, 53.96, -11.23)
CIE-LCHlch(36.81, 55.11, 348.24°)
OKLaboklab(47.74% 0.165 -0.0293)
OKLCHoklch(47.74% 0.168 349.9)
XYZxyz(16.9743, 9.4336, 14.5599)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C256A #259C57
analogous
#92259C #9C256A #9C252F
triadic
#9C256A #6A9C25 #256A9C
tetradic
#9C256A #9C9225 #259C57 #252F9C
square
#9C256A #9C9225 #259C57 #252F9C
split-complementary
#9C256A #2F9C25 #259C92
monochromatic
#390E27 #6B1948 #9C256A #CD318C #DA62A7

Accessibility & contrast

On white

7.28
#9C256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C256A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C256A#FFFFFF#000000##FFFFFF
##9C256A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496C
Deuteranopia (green-blind)
#5B5E67
Tritanopia (blue-blind)
#A81D44
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c256a;
/* rgb */ color: rgb(156, 37, 106);
/* oklch */ color: oklch(47.7% 0.168 349.9);
Tailwind
colors: {
  custom: {
    50: '#bd6c94',
    500: '#9c256a',
    950: '#000000',
  },
}
SCSS
$custom: #9c256a;
$custom-light: #bd6c94;
$custom-dark: #000000;
JSON
{
  "hex": "#9c256a",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 325.21,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.16754,
    "h": 349.9
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#9C256A
secondary
#5EBF87
accent
#E58743
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C256A

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

Preview Lab → · Contrast checker → · Palette generator →

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