#8A2C61#8A2C61

#8A2C61 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.139 H 349.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8A2C61
RGBrgb(138, 44, 97)
HSLhsl(326, 52%, 36%)
HSVhsv(326, 68%, 54%)
CMYKcmyk(0%, 68.1%, 29.7%, 45.9%)
CIE-LABlab(34.13, 45.07, -9.87)
CIE-LCHlch(34.13, 46.14, 347.65°)
OKLaboklab(45.05% 0.137 -0.0258)
OKLCHoklch(45.05% 0.139 349.3)
XYZxyz(13.5402, 8.0691, 12.1514)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C61 #2C8A55
analogous
#842C8A #8A2C61 #8A2C32
triadic
#8A2C61 #618A2C #2C618A
tetradic
#8A2C61 #8A842C #2C8A55 #2C328A
square
#8A2C61 #8A842C #2C8A55 #2C328A
split-complementary
#8A2C61 #328A2C #2C8A84
monochromatic
#2D0E20 #5C1D40 #8A2C61 #B83B82 #CD639F

Accessibility & contrast

On white

8.03
#8A2C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C61
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C61#FFFFFF#000000##FFFFFF
##8A2C611.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#54565F
Tritanopia (blue-blind)
#942842
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c61;
/* rgb */ color: rgb(138, 44, 97);
/* oklch */ color: oklch(45.0% 0.139 349.3);
Tailwind
colors: {
  custom: {
    50: '#b06c8e',
    500: '#8a2c61',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c61;
$custom-light: #b06c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c61",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 326.17,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.13944,
    "h": 349.3
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#8A2C61
secondary
#5EB483
accent
#DB8B4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C61

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

Preview Lab → · Contrast checker → · Palette generator →

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