#9A256F#9A256F

#9A256F is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.169 H 346.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9A256F
RGBrgb(154, 37, 111)
HSLhsl(322, 61%, 37%)
HSVhsv(322, 76%, 60%)
CMYKcmyk(0%, 76%, 27.9%, 39.6%)
CIE-LABlab(36.64, 54.05, -14.68)
CIE-LCHlch(36.64, 56.01, 344.80°)
OKLaboklab(47.61% 0.1643 -0.0388)
OKLCHoklch(47.61% 0.169 346.7)
XYZxyz(16.8580, 9.3427, 15.9514)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A256F #259A50
analogous
#8A259A #9A256F #9A2535
triadic
#9A256F #6F9A25 #256F9A
tetradic
#9A256F #9A8A25 #259A50 #25359A
square
#9A256F #9A8A25 #259A50 #25359A
split-complementary
#9A256F #359A25 #259A8A
monochromatic
#370D28 #69194B #9A256F #CB3193 #D960AD

Accessibility & contrast

On white

7.32
#9A256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A256F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A256F#FFFFFF#000000##FFFFFF
##9A256F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A52147
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a256f;
/* rgb */ color: rgb(154, 37, 111);
/* oklch */ color: oklch(47.6% 0.169 346.7);
Tailwind
colors: {
  custom: {
    50: '#bc6c98',
    500: '#9a256f',
    950: '#000000',
  },
}
SCSS
$custom: #9a256f;
$custom-light: #bc6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9a256f",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 322.051,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.16884,
    "h": 346.7
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#9A256F
secondary
#5DBE80
accent
#E47F43
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A256F

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

Preview Lab → · Contrast checker → · Palette generator →

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