#9A2256#9A2256

#9A2256 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.160 H 359.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9A2256
RGBrgb(154, 34, 86)
HSLhsl(334, 64%, 37%)
HSVhsv(334, 78%, 60%)
CMYKcmyk(0%, 77.9%, 44.2%, 39.6%)
CIE-LABlab(35.38, 52.19, -0.62)
CIE-LCHlch(35.38, 52.19, 359.32°)
OKLaboklab(46.39% 0.1603 -0.001)
OKLCHoklch(46.39% 0.16 359.6)
XYZxyz(15.5794, 8.6880, 9.6589)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2256 #229A66
analogous
#9A2292 #9A2256 #9A2A22
triadic
#9A2256 #569A22 #22569A
tetradic
#9A2256 #929A22 #229A66 #2A229A
square
#9A2256 #929A22 #229A66 #2A229A
split-complementary
#9A2256 #229A2A #22929A
monochromatic
#360C1E #68173A #9A2256 #CC2D72 #DB5B93

Accessibility & contrast

On white

7.67
#9A2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9A2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2256
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2256#FFFFFF#000000##FFFFFF
##9A22561.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4557
Deuteranopia (green-blind)
#5E5B53
Tritanopia (blue-blind)
#A70B39
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2256;
/* rgb */ color: rgb(154, 34, 86);
/* oklch */ color: oklch(46.4% 0.160 359.6);
Tailwind
colors: {
  custom: {
    50: '#bd6985',
    500: '#9a2256',
    950: '#000000',
  },
}
SCSS
$custom: #9a2256;
$custom-light: #bd6985;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2256",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 334,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.16031,
    "h": 359.6
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#9A2256
secondary
#58BF93
accent
#E79F41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A2256

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

Preview Lab → · Contrast checker → · Palette generator →

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