#8A2F6E#8A2F6E

#8A2F6E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.0% C 0.143 H 341.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8A2F6E
RGBrgb(138, 47, 110)
HSLhsl(318, 49%, 36%)
HSVhsv(318, 66%, 54%)
CMYKcmyk(0%, 65.9%, 20.3%, 45.9%)
CIE-LABlab(35.13, 45.62, -16.61)
CIE-LCHlch(35.13, 48.55, 340.00°)
OKLaboklab(45.96% 0.1363 -0.0445)
OKLCHoklch(45.96% 0.143 341.9)
XYZxyz(14.3126, 8.5634, 15.6479)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F6E #2F8A4B
analogous
#792F8A #8A2F6E #8A2F41
triadic
#8A2F6E #6E8A2F #2F6E8A
tetradic
#8A2F6E #8A792F #2F8A4B #2F418A
square
#8A2F6E #8A792F #2F8A4B #2F418A
split-complementary
#8A2F6E #418A2F #2F8A79
monochromatic
#2F1025 #5C1F4A #8A2F6E #B83F92 #CC68AD

Accessibility & contrast

On white

7.74
#8A2F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F6E
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F6E#FFFFFF#000000##FFFFFF
##8A2F6E1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#92304A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2f6e;
/* rgb */ color: rgb(138, 47, 110);
/* oklch */ color: oklch(46.0% 0.143 341.9);
Tailwind
colors: {
  custom: {
    50: '#af6e97',
    500: '#8a2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f6e;
$custom-light: #af6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f6e",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 318.462,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.14335,
    "h": 341.9
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#8A2F6E
secondary
#62B37B
accent
#D9794F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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