#9A256B#9A256B

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

Color values

HEX#9A256B
RGBrgb(154, 37, 107)
HSLhsl(324, 61%, 37%)
HSVhsv(324, 76%, 60%)
CMYKcmyk(0%, 76%, 30.5%, 39.6%)
CIE-LABlab(36.47, 53.55, -12.40)
CIE-LCHlch(36.47, 54.96, 346.96°)
OKLaboklab(47.44% 0.1634 -0.0325)
OKLCHoklch(47.44% 0.167 348.7)
XYZxyz(16.6427, 9.2566, 14.8173)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A256B #259A54
analogous
#8F259A #9A256B #9A2530
triadic
#9A256B #6B9A25 #256B9A
tetradic
#9A256B #9A8F25 #259A54 #25309A
square
#9A256B #9A8F25 #259A54 #25309A
split-complementary
#9A256B #309A25 #259A8F
monochromatic
#370D26 #691949 #9A256B #CB318D #D960A9

Accessibility & contrast

On white

7.37
#9A256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A256B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A256B#FFFFFF#000000##FFFFFF
##9A256B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496D
Deuteranopia (green-blind)
#5A5D68
Tritanopia (blue-blind)
#A51F45
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a256b;
/* rgb */ color: rgb(154, 37, 107);
/* oklch */ color: oklch(47.4% 0.167 348.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b95',
    500: '#9a256b',
    950: '#000000',
  },
}
SCSS
$custom: #9a256b;
$custom-light: #bc6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9a256b",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 324.103,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.16659,
    "h": 348.7
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#9A256B
secondary
#5DBE84
accent
#E48443
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A256B

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

Preview Lab → · Contrast checker → · Palette generator →

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