#9A2270#9A2270

#9A2270 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 346.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9A2270
RGBrgb(154, 34, 112)
HSLhsl(321, 64%, 37%)
HSVhsv(321, 78%, 60%)
CMYKcmyk(0%, 77.9%, 27.3%, 39.6%)
CIE-LABlab(36.34, 55.14, -15.77)
CIE-LCHlch(36.34, 57.34, 344.04°)
OKLaboklab(47.41% 0.1675 -0.0418)
OKLCHoklch(47.41% 0.173 346)
XYZxyz(16.8239, 9.1858, 16.2131)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2270 #229A4C
analogous
#88229A #9A2270 #9A2234
triadic
#9A2270 #709A22 #22709A
tetradic
#9A2270 #9A8822 #229A4C #22349A
square
#9A2270 #9A8822 #229A4C #22349A
split-complementary
#9A2270 #349A22 #229A88
monochromatic
#360C27 #68174C #9A2270 #CC2D94 #DB5BAE

Accessibility & contrast

On white

7.40
#9A2270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A2270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2270
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2270#FFFFFF#000000##FFFFFF
##9A22701.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334872
Deuteranopia (green-blind)
#575D6D
Tritanopia (blue-blind)
#A51F46
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a2270;
/* rgb */ color: rgb(154, 34, 112);
/* oklch */ color: oklch(47.4% 0.173 346.0);
Tailwind
colors: {
  custom: {
    50: '#bc6a99',
    500: '#9a2270',
    950: '#000000',
  },
}
SCSS
$custom: #9a2270;
$custom-light: #bc6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2270",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 321,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47411,
    "c": 0.17265,
    "h": 346
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#9A2270
secondary
#58BF7C
accent
#E77B41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2270

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

Preview Lab → · Contrast checker → · Palette generator →

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