#8A2175#8A2175

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

Color values

HEX#8A2175
RGBrgb(138, 33, 117)
HSLhsl(312, 61%, 34%)
HSVhsv(312, 76%, 54%)
CMYKcmyk(0%, 76.1%, 15.2%, 45.9%)
CIE-LABlab(33.51, 52.12, -23.53)
CIE-LCHlch(33.51, 57.18, 335.70°)
OKLaboklab(44.89% 0.1538 -0.064)
OKLCHoklch(44.89% 0.167 337.4)
XYZxyz(14.2363, 7.7767, 17.5775)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2175 #218A36
analogous
#6A218A #8A2175 #8A2140
triadic
#8A2175 #758A21 #21758A
tetradic
#8A2175 #8A6A21 #218A36 #21408A
square
#8A2175 #8A6A21 #218A36 #21408A
split-complementary
#8A2175 #408A21 #218A6A
monochromatic
#270921 #59154B #8A2175 #BB2D9F #D550BB

Accessibility & contrast

On white

8.22
#8A2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2175
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2175#FFFFFF#000000##FFFFFF
##8A21751.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254577
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#922749
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2175;
/* rgb */ color: rgb(138, 33, 117);
/* oklch */ color: oklch(44.9% 0.167 337.4);
Tailwind
colors: {
  custom: {
    50: '#b0689d',
    500: '#8a2175',
    950: '#000000',
  },
}
SCSS
$custom: #8a2175;
$custom-light: #b0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2175",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 312,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.16659,
    "h": 337.4
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#8A2175
secondary
#4EB964
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2175

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

Preview Lab → · Contrast checker → · Palette generator →

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