#8A2275#8A2275

#8A2275 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.165 H 337.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8A2275
RGBrgb(138, 34, 117)
HSLhsl(312, 60%, 34%)
HSVhsv(312, 75%, 54%)
CMYKcmyk(0%, 75.4%, 15.2%, 45.9%)
CIE-LABlab(33.63, 51.78, -23.35)
CIE-LCHlch(33.63, 56.80, 335.73°)
OKLaboklab(44.98% 0.1528 -0.0634)
OKLCHoklch(44.98% 0.165 337.5)
XYZxyz(14.2644, 7.8330, 17.5868)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2275 #228A37
analogous
#6B228A #8A2275 #8A2241
triadic
#8A2275 #758A22 #22758A
tetradic
#8A2275 #8A6B22 #228A37 #22418A
square
#8A2275 #8A6B22 #228A37 #22418A
split-complementary
#8A2275 #418A22 #228A6B
monochromatic
#280A22 #59164B #8A2275 #BB2E9F #D452BA

Accessibility & contrast

On white

8.18
#8A2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2275
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2275#FFFFFF#000000##FFFFFF
##8A22751.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2275;
/* rgb */ color: rgb(138, 34, 117);
/* oklch */ color: oklch(45.0% 0.165 337.5);
Tailwind
colors: {
  custom: {
    50: '#b0689d',
    500: '#8a2275',
    950: '#000000',
  },
}
SCSS
$custom: #8a2275;
$custom-light: #b0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2275",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 312.115,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.16546,
    "h": 337.5
  },
  "luminance": 0.07832
}

Semantic roles & 50–950 ramp

primary
#8A2275
secondary
#50B865
accent
#E46444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2275

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

Preview Lab → · Contrast checker → · Palette generator →

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