#9A225D#9A225D

#9A225D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.163 H 355.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9A225D
RGBrgb(154, 34, 93)
HSLhsl(331, 64%, 37%)
HSVhsv(331, 78%, 60%)
CMYKcmyk(0%, 77.9%, 39.6%, 39.6%)
CIE-LABlab(35.61, 52.91, -4.78)
CIE-LCHlch(35.61, 53.12, 354.84°)
OKLaboklab(46.64% 0.1626 -0.0119)
OKLCHoklch(46.64% 0.163 355.8)
XYZxyz(15.8753, 8.8064, 11.2176)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A225D #229A5F
analogous
#9A2299 #9A225D #9A2322
triadic
#9A225D #5D9A22 #225D9A
tetradic
#9A225D #999A22 #229A5F #23229A
square
#9A225D #999A22 #229A5F #23229A
split-complementary
#9A225D #229A23 #22999A
monochromatic
#360C20 #68173F #9A225D #CC2D7B #DB5B9A

Accessibility & contrast

On white

7.61
#9A225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9A225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A225D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A225D#FFFFFF#000000##FFFFFF
##9A225D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465E
Deuteranopia (green-blind)
#5C5C5A
Tritanopia (blue-blind)
#A7113C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a225d;
/* rgb */ color: rgb(154, 34, 93);
/* oklch */ color: oklch(46.6% 0.163 355.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a8a',
    500: '#9a225d',
    950: '#000000',
  },
}
SCSS
$custom: #9a225d;
$custom-light: #bd6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a225d",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 330.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46639,
    "c": 0.16303,
    "h": 355.8
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#9A225D
secondary
#58BF8D
accent
#E79541
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A225D

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

Preview Lab → · Contrast checker → · Palette generator →

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