#9A2273#9A2273

#9A2273 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.174 H 344.5°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9A2273
RGBrgb(154, 34, 115)
HSLhsl(320, 64%, 37%)
HSVhsv(320, 78%, 60%)
CMYKcmyk(0%, 77.9%, 25.3%, 39.6%)
CIE-LABlab(36.47, 55.52, -17.46)
CIE-LCHlch(36.47, 58.20, 342.54°)
OKLaboklab(47.55% 0.1681 -0.0465)
OKLCHoklch(47.55% 0.174 344.5)
XYZxyz(16.9937, 9.2537, 17.1075)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2273 #229A49
analogous
#85229A #9A2273 #9A2237
triadic
#9A2273 #739A22 #22739A
tetradic
#9A2273 #9A8522 #229A49 #22379A
square
#9A2273 #9A8522 #229A49 #22379A
split-complementary
#9A2273 #379A22 #229A85
monochromatic
#360C28 #68174E #9A2273 #CC2D98 #DB5BB1

Accessibility & contrast

On white

7.37
#9A2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9A2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2273
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2273#FFFFFF#000000##FFFFFF
##9A22731.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#565D70
Tritanopia (blue-blind)
#A52148
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2273;
/* rgb */ color: rgb(154, 34, 115);
/* oklch */ color: oklch(47.5% 0.174 344.5);
Tailwind
colors: {
  custom: {
    50: '#bc6a9b',
    500: '#9a2273',
    950: '#000000',
  },
}
SCSS
$custom: #9a2273;
$custom-light: #bc6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2273",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 319.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.17443,
    "h": 344.5
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#9A2273
secondary
#58BF7A
accent
#E77741
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2273

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

Preview Lab → · Contrast checker → · Palette generator →

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