#8A2F66#8A2F66

#8A2F66 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.138 H 346.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A2F66
RGBrgb(138, 47, 102)
HSLhsl(324, 49%, 36%)
HSVhsv(324, 66%, 54%)
CMYKcmyk(0%, 65.9%, 26.1%, 45.9%)
CIE-LABlab(34.80, 44.46, -12.04)
CIE-LCHlch(34.80, 46.06, 344.84°)
OKLaboklab(45.61% 0.1344 -0.0318)
OKLCHoklch(45.61% 0.138 346.7)
XYZxyz(13.8966, 8.3970, 13.4567)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F66 #2F8A53
analogous
#812F8A #8A2F66 #8A2F39
triadic
#8A2F66 #668A2F #2F668A
tetradic
#8A2F66 #8A812F #2F8A53 #2F398A
square
#8A2F66 #8A812F #2F8A53 #2F398A
split-complementary
#8A2F66 #398A2F #2F8A81
monochromatic
#2F1023 #5C1F44 #8A2F66 #B83F88 #CC68A4

Accessibility & contrast

On white

7.84
#8A2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8A2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F66
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F66#FFFFFF#000000##FFFFFF
##8A2F661.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394868
Deuteranopia (green-blind)
#535864
Tritanopia (blue-blind)
#932D46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2f66;
/* rgb */ color: rgb(138, 47, 102);
/* oklch */ color: oklch(45.6% 0.138 346.7);
Tailwind
colors: {
  custom: {
    50: '#af6e91',
    500: '#8a2f66',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f66;
$custom-light: #af6e91;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f66",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 323.736,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.13807,
    "h": 346.7
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#8A2F66
secondary
#62B382
accent
#D9864F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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