#9A256D#9A256D

#9A256D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.168 H 347.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9A256D
RGBrgb(154, 37, 109)
HSLhsl(323, 61%, 37%)
HSVhsv(323, 76%, 60%)
CMYKcmyk(0%, 76%, 29.2%, 39.6%)
CIE-LABlab(36.55, 53.79, -13.54)
CIE-LCHlch(36.55, 55.47, 345.87°)
OKLaboklab(47.53% 0.1639 -0.0357)
OKLCHoklch(47.53% 0.168 347.7)
XYZxyz(16.7491, 9.2992, 15.3779)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A256D #259A52
analogous
#8D259A #9A256D #9A2532
triadic
#9A256D #6D9A25 #256D9A
tetradic
#9A256D #9A8D25 #259A52 #25329A
square
#9A256D #9A8D25 #259A52 #25329A
split-complementary
#9A256D #329A25 #259A8D
monochromatic
#370D27 #69194A #9A256D #CB3190 #D960AB

Accessibility & contrast

On white

7.34
#9A256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A256D
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A256D#FFFFFF#000000##FFFFFF
##9A256D1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496F
Deuteranopia (green-blind)
#595D6A
Tritanopia (blue-blind)
#A52046
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a256d;
/* rgb */ color: rgb(154, 37, 109);
/* oklch */ color: oklch(47.5% 0.168 347.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b97',
    500: '#9a256d',
    950: '#000000',
  },
}
SCSS
$custom: #9a256d;
$custom-light: #bc6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a256d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 323.077,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.16769,
    "h": 347.7
  },
  "luminance": 0.09297
}

Semantic roles & 50–950 ramp

primary
#9A256D
secondary
#5DBE82
accent
#E48143
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A256D

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

Preview Lab → · Contrast checker → · Palette generator →

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