#8A2B68#8A2B68

#8A2B68 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.145 H 345.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2B68
RGBrgb(138, 43, 104)
HSLhsl(321, 52%, 35%)
HSVhsv(321, 69%, 54%)
CMYKcmyk(0%, 68.8%, 24.6%, 45.9%)
CIE-LABlab(34.26, 46.45, -14.14)
CIE-LCHlch(34.26, 48.56, 343.07°)
OKLaboklab(45.24% 0.1401 -0.0376)
OKLCHoklch(45.24% 0.145 345)
XYZxyz(13.8443, 8.1319, 13.9345)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B68 #2B8A4D
analogous
#7C2B8A #8A2B68 #8A2B38
triadic
#8A2B68 #688A2B #2B688A
tetradic
#8A2B68 #8A7C2B #2B8A4D #2B388A
square
#8A2B68 #8A7C2B #2B8A4D #2B388A
split-complementary
#8A2B68 #388A2B #2B8A7C
monochromatic
#2D0E22 #5B1C45 #8A2B68 #B93A8B #CE61A7

Accessibility & contrast

On white

8.00
#8A2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B68
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B68#FFFFFF#000000##FFFFFF
##8A2B681.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35466A
Deuteranopia (green-blind)
#515666
Tritanopia (blue-blind)
#932A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2b68;
/* rgb */ color: rgb(138, 43, 104);
/* oklch */ color: oklch(45.2% 0.145 345.0);
Tailwind
colors: {
  custom: {
    50: '#af6c93',
    500: '#8a2b68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b68;
$custom-light: #af6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b68",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 321.474,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.14507,
    "h": 345
  },
  "luminance": 0.08131
}

Semantic roles & 50–950 ramp

primary
#8A2B68
secondary
#5DB47C
accent
#DC7F4C
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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