#9A225C#9A225C

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

Color values

HEX#9A225C
RGBrgb(154, 34, 92)
HSLhsl(331, 64%, 37%)
HSVhsv(331, 78%, 60%)
CMYKcmyk(0%, 77.9%, 40.3%, 39.6%)
CIE-LABlab(35.57, 52.80, -4.19)
CIE-LCHlch(35.57, 52.97, 355.47°)
OKLaboklab(46.6% 0.1623 -0.0103)
OKLCHoklch(46.6% 0.163 356.4)
XYZxyz(15.8313, 8.7888, 10.9859)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A225C #229A60
analogous
#9A2298 #9A225C #9A2422
triadic
#9A225C #5C9A22 #225C9A
tetradic
#9A225C #989A22 #229A60 #24229A
square
#9A225C #989A22 #229A60 #24229A
split-complementary
#9A225C #229A24 #22989A
monochromatic
#360C20 #68173E #9A225C #CC2D7A #DB5B99

Accessibility & contrast

On white

7.62
#9A225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A225C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A225C#FFFFFF#000000##FFFFFF
##9A225C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#5C5C59
Tritanopia (blue-blind)
#A7103C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a225c;
/* rgb */ color: rgb(154, 34, 92);
/* oklch */ color: oklch(46.6% 0.163 356.4);
Tailwind
colors: {
  custom: {
    50: '#bd6a8a',
    500: '#9a225c',
    950: '#000000',
  },
}
SCSS
$custom: #9a225c;
$custom-light: #bd6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a225c",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 331,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46603,
    "c": 0.16261,
    "h": 356.4
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#9A225C
secondary
#58BF8E
accent
#E79741
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A225C

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

Preview Lab → · Contrast checker → · Palette generator →

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