#8A2273#8A2273

#8A2273 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.164 H 338.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A2273
RGBrgb(138, 34, 115)
HSLhsl(313, 60%, 34%)
HSVhsv(313, 75%, 54%)
CMYKcmyk(0%, 75.4%, 16.7%, 45.9%)
CIE-LABlab(33.53, 51.48, -22.24)
CIE-LCHlch(33.53, 56.07, 336.64°)
OKLaboklab(44.87% 0.1526 -0.0603)
OKLCHoklch(44.87% 0.164 338.4)
XYZxyz(14.1481, 7.7865, 16.9742)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2273 #228A39
analogous
#6D228A #8A2273 #8A223F
triadic
#8A2273 #738A22 #22738A
tetradic
#8A2273 #8A6D22 #228A39 #223F8A
square
#8A2273 #8A6D22 #228A39 #223F8A
split-complementary
#8A2273 #3F8A22 #228A6D
monochromatic
#280A21 #59164A #8A2273 #BB2E9C #D452B8

Accessibility & contrast

On white

8.21
#8A2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2273
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2273#FFFFFF#000000##FFFFFF
##8A22731.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274575
Deuteranopia (green-blind)
#4A5571
Tritanopia (blue-blind)
#922748
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2273;
/* rgb */ color: rgb(138, 34, 115);
/* oklch */ color: oklch(44.9% 0.164 338.4);
Tailwind
colors: {
  custom: {
    50: '#b0689b',
    500: '#8a2273',
    950: '#000000',
  },
}
SCSS
$custom: #8a2273;
$custom-light: #b0689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2273",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 313.269,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.16404,
    "h": 338.4
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#8A2273
secondary
#50B867
accent
#E46744
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2273

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

Preview Lab → · Contrast checker → · Palette generator →

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