#9A225F#9A225F

#9A225F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 354.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9A225F
RGBrgb(154, 34, 95)
HSLhsl(330, 64%, 37%)
HSVhsv(330, 78%, 60%)
CMYKcmyk(0%, 77.9%, 38.3%, 39.6%)
CIE-LABlab(35.68, 53.12, -5.96)
CIE-LCHlch(35.68, 53.46, 353.60°)
OKLaboklab(46.71% 0.1632 -0.015)
OKLCHoklch(46.71% 0.164 354.7)
XYZxyz(15.9651, 8.8423, 11.6903)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A225F #229A5D
analogous
#99229A #9A225F #9A2223
triadic
#9A225F #5F9A22 #225F9A
tetradic
#9A225F #9A9922 #229A5D #22239A
square
#9A225F #9A9922 #229A5D #22239A
split-complementary
#9A225F #239A22 #229A99
monochromatic
#360C21 #681740 #9A225F #CC2D7E #DB5B9C

Accessibility & contrast

On white

7.59
#9A225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A225F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A225F#FFFFFF#000000##FFFFFF
##9A225F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4661
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#A7133D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a225f;
/* rgb */ color: rgb(154, 34, 95);
/* oklch */ color: oklch(46.7% 0.164 354.7);
Tailwind
colors: {
  custom: {
    50: '#bc6a8c',
    500: '#9a225f',
    950: '#000000',
  },
}
SCSS
$custom: #9a225f;
$custom-light: #bc6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a225f",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 329.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.16389,
    "h": 354.7
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#9A225F
secondary
#58BF8B
accent
#E79341
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A225F

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

Preview Lab → · Contrast checker → · Palette generator →

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