#9A256A#9A256A

#9A256A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.166 H 349.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9A256A
RGBrgb(154, 37, 106)
HSLhsl(325, 61%, 37%)
HSVhsv(325, 76%, 60%)
CMYKcmyk(0%, 76%, 31.2%, 39.6%)
CIE-LABlab(36.43, 53.42, -11.83)
CIE-LCHlch(36.43, 54.72, 347.52°)
OKLaboklab(47.4% 0.1631 -0.031)
OKLCHoklch(47.4% 0.166 349.3)
XYZxyz(16.5904, 9.2357, 14.5419)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A256A #259A55
analogous
#8F259A #9A256A #9A2530
triadic
#9A256A #6A9A25 #256A9A
tetradic
#9A256A #9A8F25 #259A55 #25309A
square
#9A256A #9A8F25 #259A55 #25309A
split-complementary
#9A256A #309A25 #259A8F
monochromatic
#370D26 #691948 #9A256A #CB318C #D960A8

Accessibility & contrast

On white

7.38
#9A256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9A256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A256A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A256A#FFFFFF#000000##FFFFFF
##9A256A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496C
Deuteranopia (green-blind)
#5A5D67
Tritanopia (blue-blind)
#A51E44
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a256a;
/* rgb */ color: rgb(154, 37, 106);
/* oklch */ color: oklch(47.4% 0.166 349.3);
Tailwind
colors: {
  custom: {
    50: '#bc6b94',
    500: '#9a256a',
    950: '#000000',
  },
}
SCSS
$custom: #9a256a;
$custom-light: #bc6b94;
$custom-dark: #000000;
JSON
{
  "hex": "#9a256a",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 324.615,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.474,
    "c": 0.16604,
    "h": 349.3
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#9A256A
secondary
#5DBE85
accent
#E48543
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A256A

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

Preview Lab → · Contrast checker → · Palette generator →

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