#9A2255#9A2255

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

Color values

HEX#9A2255
RGBrgb(154, 34, 85)
HSLhsl(335, 64%, 37%)
HSVhsv(335, 78%, 60%)
CMYKcmyk(0%, 77.9%, 44.8%, 39.6%)
CIE-LABlab(35.34, 52.09, -0.02)
CIE-LCHlch(35.34, 52.09, 359.98°)
OKLaboklab(46.36% 0.16 0.0005)
OKLCHoklch(46.36% 0.16 0.2)
XYZxyz(15.5394, 8.6720, 9.4481)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2255 #229A67
analogous
#9A2291 #9A2255 #9A2B22
triadic
#9A2255 #559A22 #22559A
tetradic
#9A2255 #919A22 #229A67 #2B229A
square
#9A2255 #919A22 #229A67 #2B229A
split-complementary
#9A2255 #229A2B #22919A
monochromatic
#360C1E #681739 #9A2255 #CC2D71 #DB5B92

Accessibility & contrast

On white

7.68
#9A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9A2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2255
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2255#FFFFFF#000000##FFFFFF
##9A22551.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4456
Deuteranopia (green-blind)
#5E5B52
Tritanopia (blue-blind)
#A70A38
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a2255;
/* rgb */ color: rgb(154, 34, 85);
/* oklch */ color: oklch(46.4% 0.160 0.2);
Tailwind
colors: {
  custom: {
    50: '#bd6984',
    500: '#9a2255',
    950: '#000000',
  },
}
SCSS
$custom: #9a2255;
$custom-light: #bd6984;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2255",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 334.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.15997,
    "h": 0.2
  },
  "luminance": 0.0867
}

Semantic roles & 50–950 ramp

primary
#9A2255
secondary
#58BF94
accent
#E7A041
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A2255

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

Preview Lab → · Contrast checker → · Palette generator →

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