#8A2F68#8A2F68

#8A2F68 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.139 H 345.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8A2F68
RGBrgb(138, 47, 104)
HSLhsl(322, 49%, 36%)
HSVhsv(322, 66%, 54%)
CMYKcmyk(0%, 65.9%, 24.6%, 45.9%)
CIE-LABlab(34.88, 44.74, -13.19)
CIE-LCHlch(34.88, 46.64, 343.57°)
OKLaboklab(45.69% 0.1349 -0.035)
OKLCHoklch(45.69% 0.139 345.5)
XYZxyz(13.9969, 8.4372, 13.9854)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F68 #2F8A51
analogous
#7F2F8A #8A2F68 #8A2F3B
triadic
#8A2F68 #688A2F #2F688A
tetradic
#8A2F68 #8A7F2F #2F8A51 #2F3B8A
square
#8A2F68 #8A7F2F #2F8A51 #2F3B8A
split-complementary
#8A2F68 #3B8A2F #2F8A7F
monochromatic
#2F1023 #5C1F46 #8A2F68 #B83F8A #CC68A6

Accessibility & contrast

On white

7.81
#8A2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8A2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F68
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F68#FFFFFF#000000##FFFFFF
##8A2F681.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39486A
Deuteranopia (green-blind)
#535866
Tritanopia (blue-blind)
#932E47
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2f68;
/* rgb */ color: rgb(138, 47, 104);
/* oklch */ color: oklch(45.7% 0.139 345.5);
Tailwind
colors: {
  custom: {
    50: '#af6e93',
    500: '#8a2f68',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f68;
$custom-light: #af6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f68",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 322.418,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.13933,
    "h": 345.5
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#8A2F68
secondary
#62B380
accent
#D9834F
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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