#8A2272#8A2272

#8A2272 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.163 H 338.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A2272
RGBrgb(138, 34, 114)
HSLhsl(314, 60%, 34%)
HSVhsv(314, 75%, 54%)
CMYKcmyk(0%, 75.4%, 17.4%, 45.9%)
CIE-LABlab(33.49, 51.33, -21.68)
CIE-LCHlch(33.49, 55.72, 337.10°)
OKLaboklab(44.82% 0.1524 -0.0587)
OKLCHoklch(44.82% 0.163 338.9)
XYZxyz(14.0909, 7.7636, 16.6727)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2272 #228A3A
analogous
#6E228A #8A2272 #8A223E
triadic
#8A2272 #728A22 #22728A
tetradic
#8A2272 #8A6E22 #228A3A #223E8A
square
#8A2272 #8A6E22 #228A3A #223E8A
split-complementary
#8A2272 #3E8A22 #228A6E
monochromatic
#280A21 #591649 #8A2272 #BB2E9B #D452B6

Accessibility & contrast

On white

8.23
#8A2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2272
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2272#FFFFFF#000000##FFFFFF
##8A22721.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#4A5570
Tritanopia (blue-blind)
#922647
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2272;
/* rgb */ color: rgb(138, 34, 114);
/* oklch */ color: oklch(44.8% 0.163 338.9);
Tailwind
colors: {
  custom: {
    50: '#b0689a',
    500: '#8a2272',
    950: '#000000',
  },
}
SCSS
$custom: #8a2272;
$custom-light: #b0689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2272",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 313.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.16333,
    "h": 338.9
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#8A2272
secondary
#50B868
accent
#E46944
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2272

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

Preview Lab → · Contrast checker → · Palette generator →

#8A2272 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva