#8A2F63#8A2F63

#8A2F63 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.136 H 348.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A2F63
RGBrgb(138, 47, 99)
HSLhsl(326, 49%, 36%)
HSVhsv(326, 66%, 54%)
CMYKcmyk(0%, 65.9%, 28.3%, 45.9%)
CIE-LABlab(34.68, 44.04, -10.31)
CIE-LCHlch(34.68, 45.23, 346.82°)
OKLaboklab(45.48% 0.1336 -0.027)
OKLCHoklch(45.48% 0.136 348.6)
XYZxyz(13.7505, 8.3386, 12.6873)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F63 #2F8A56
analogous
#842F8A #8A2F63 #8A2F36
triadic
#8A2F63 #638A2F #2F638A
tetradic
#8A2F63 #8A842F #2F8A56 #2F368A
square
#8A2F63 #8A842F #2F8A56 #2F368A
split-complementary
#8A2F63 #368A2F #2F8A84
monochromatic
#2F1022 #5C1F42 #8A2F63 #B83F84 #CC68A1

Accessibility & contrast

On white

7.87
#8A2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F63
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F63#FFFFFF#000000##FFFFFF
##8A2F631.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4765
Deuteranopia (green-blind)
#545761
Tritanopia (blue-blind)
#942C45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2f63;
/* rgb */ color: rgb(138, 47, 99);
/* oklch */ color: oklch(45.5% 0.136 348.6);
Tailwind
colors: {
  custom: {
    50: '#af6e8f',
    500: '#8a2f63',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f63;
$custom-light: #af6e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f63",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 325.714,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.13626,
    "h": 348.6
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#8A2F63
secondary
#62B385
accent
#D98A4F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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