#8A2B63#8A2B63

#8A2B63 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.142 H 348.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2B63
RGBrgb(138, 43, 99)
HSLhsl(325, 52%, 35%)
HSVhsv(325, 69%, 54%)
CMYKcmyk(0%, 68.8%, 28.3%, 45.9%)
CIE-LABlab(34.05, 45.76, -11.26)
CIE-LCHlch(34.05, 47.13, 346.18°)
OKLaboklab(45.02% 0.1389 -0.0296)
OKLCHoklch(45.02% 0.142 348)
XYZxyz(13.5978, 8.0333, 12.6364)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B63 #2B8A52
analogous
#812B8A #8A2B63 #8A2B33
triadic
#8A2B63 #638A2B #2B638A
tetradic
#8A2B63 #8A812B #2B8A52 #2B338A
square
#8A2B63 #8A812B #2B8A52 #2B338A
split-complementary
#8A2B63 #338A2B #2B8A81
monochromatic
#2D0E20 #5B1C42 #8A2B63 #B93A84 #CE61A1

Accessibility & contrast

On white

8.06
#8A2B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2B63
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B63#FFFFFF#000000##FFFFFF
##8A2B631.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2b63;
/* rgb */ color: rgb(138, 43, 99);
/* oklch */ color: oklch(45.0% 0.142 348.0);
Tailwind
colors: {
  custom: {
    50: '#b06c8f',
    500: '#8a2b63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b63;
$custom-light: #b06c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b63",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 324.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4502,
    "c": 0.142,
    "h": 348
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#8A2B63
secondary
#5DB481
accent
#DC874C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2B63

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

Preview Lab → · Contrast checker → · Palette generator →

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