#9A256C#9A256C

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

Color values

HEX#9A256C
RGBrgb(154, 37, 108)
HSLhsl(324, 61%, 37%)
HSVhsv(324, 76%, 60%)
CMYKcmyk(0%, 76%, 29.9%, 39.6%)
CIE-LABlab(36.51, 53.67, -12.97)
CIE-LCHlch(36.51, 55.21, 346.41°)
OKLaboklab(47.48% 0.1636 -0.0341)
OKLCHoklch(47.48% 0.167 348.2)
XYZxyz(16.6956, 9.2778, 15.0960)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A256C #259A53
analogous
#8E259A #9A256C #9A2531
triadic
#9A256C #6C9A25 #256C9A
tetradic
#9A256C #9A8E25 #259A53 #25319A
square
#9A256C #9A8E25 #259A53 #25319A
split-complementary
#9A256C #319A25 #259A8E
monochromatic
#370D27 #691949 #9A256C #CB318F #D960AA

Accessibility & contrast

On white

7.36
#9A256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A256C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A256C#FFFFFF#000000##FFFFFF
##9A256C1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#A51F45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a256c;
/* rgb */ color: rgb(154, 37, 108);
/* oklch */ color: oklch(47.5% 0.167 348.2);
Tailwind
colors: {
  custom: {
    50: '#bc6b96',
    500: '#9a256c',
    950: '#000000',
  },
}
SCSS
$custom: #9a256c;
$custom-light: #bc6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9a256c",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 323.59,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.16714,
    "h": 348.2
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#9A256C
secondary
#5DBE83
accent
#E48343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A256C

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

Preview Lab → · Contrast checker → · Palette generator →

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