#8A275F#8A275F

#8A275F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.4% C 0.145 H 349.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A275F
RGBrgb(138, 39, 95)
HSLhsl(326, 56%, 35%)
HSVhsv(326, 72%, 54%)
CMYKcmyk(0%, 71.7%, 31.2%, 45.9%)
CIE-LABlab(33.31, 46.86, -9.81)
CIE-LCHlch(33.31, 47.87, 348.17°)
OKLaboklab(44.43% 0.1428 -0.0256)
OKLCHoklch(44.43% 0.145 349.8)
XYZxyz(13.2730, 7.6820, 11.6080)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A275F #278A52
analogous
#84278A #8A275F #8A272D
triadic
#8A275F #5F8A27 #275F8A
tetradic
#8A275F #8A8427 #278A52 #272D8A
square
#8A275F #8A8427 #278A52 #272D8A
split-complementary
#8A275F #2D8A27 #278A84
monochromatic
#2B0C1D #5A1A3E #8A275F #BA3480 #D15B9D

Accessibility & contrast

On white

8.28
#8A275F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A275F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A275F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A275F#FFFFFF#000000##FFFFFF
##8A275F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#52555D
Tritanopia (blue-blind)
#94223F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a275f;
/* rgb */ color: rgb(138, 39, 95);
/* oklch */ color: oklch(44.4% 0.145 349.8);
Tailwind
colors: {
  custom: {
    50: '#b06a8c',
    500: '#8a275f',
    950: '#000000',
  },
}
SCSS
$custom: #8a275f;
$custom-light: #b06a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a275f",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 95
  },
  "hsl": {
    "h": 326.061,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44425,
    "c": 0.14512,
    "h": 349.8
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#8A275F
secondary
#57B680
accent
#DF8A49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A275F

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

Preview Lab → · Contrast checker → · Palette generator →

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