#8A275E#8A275E

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

Color values

HEX#8A275E
RGBrgb(138, 39, 94)
HSLhsl(327, 56%, 35%)
HSVhsv(327, 72%, 54%)
CMYKcmyk(0%, 71.7%, 31.9%, 45.9%)
CIE-LABlab(33.27, 46.73, -9.23)
CIE-LCHlch(33.27, 47.63, 348.83°)
OKLaboklab(44.38% 0.1426 -0.024)
OKLCHoklch(44.38% 0.145 350.4)
XYZxyz(13.2278, 7.6639, 11.3702)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A275E #278A53
analogous
#85278A #8A275E #8A272C
triadic
#8A275E #5E8A27 #275E8A
tetradic
#8A275E #8A8527 #278A53 #272C8A
square
#8A275E #8A8527 #278A53 #272C8A
split-complementary
#8A275E #2C8A27 #278A85
monochromatic
#2B0C1D #5A1A3D #8A275E #BA347F #D15B9C

Accessibility & contrast

On white

8.29
#8A275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A275E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A275E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A275E#FFFFFF#000000##FFFFFF
##8A275E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364360
Deuteranopia (green-blind)
#52555C
Tritanopia (blue-blind)
#94213F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a275e;
/* rgb */ color: rgb(138, 39, 94);
/* oklch */ color: oklch(44.4% 0.145 350.4);
Tailwind
colors: {
  custom: {
    50: '#b06a8b',
    500: '#8a275e',
    950: '#000000',
  },
}
SCSS
$custom: #8a275e;
$custom-light: #b06a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a275e",
  "rgb": {
    "r": 138,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 326.667,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.14457,
    "h": 350.4
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#8A275E
secondary
#57B681
accent
#DF8C49
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A275E

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

Preview Lab → · Contrast checker → · Palette generator →

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