#8A2C62#8A2C62

#8A2C62 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.140 H 348.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8A2C62
RGBrgb(138, 44, 98)
HSLhsl(326, 52%, 36%)
HSVhsv(326, 68%, 54%)
CMYKcmyk(0%, 68.1%, 29%, 45.9%)
CIE-LABlab(34.17, 45.21, -10.45)
CIE-LCHlch(34.17, 46.40, 346.99°)
OKLaboklab(45.09% 0.1373 -0.0274)
OKLCHoklch(45.09% 0.14 348.7)
XYZxyz(13.5871, 8.0879, 12.3985)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C62 #2C8A54
analogous
#832C8A #8A2C62 #8A2C33
triadic
#8A2C62 #628A2C #2C628A
tetradic
#8A2C62 #8A832C #2C8A54 #2C338A
square
#8A2C62 #8A832C #2C8A54 #2C338A
split-complementary
#8A2C62 #338A2C #2C8A83
monochromatic
#2D0E20 #5C1D41 #8A2C62 #B83B83 #CD63A0

Accessibility & contrast

On white

8.02
#8A2C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C62
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C62#FFFFFF#000000##FFFFFF
##8A2C621.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#535660
Tritanopia (blue-blind)
#942843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c62;
/* rgb */ color: rgb(138, 44, 98);
/* oklch */ color: oklch(45.1% 0.140 348.7);
Tailwind
colors: {
  custom: {
    50: '#b06c8e',
    500: '#8a2c62',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c62;
$custom-light: #b06c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c62",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 98
  },
  "hsl": {
    "h": 325.532,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.14,
    "h": 348.7
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A2C62

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

Preview Lab → · Contrast checker → · Palette generator →

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