#8A2F67#8A2F67

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

Color values

HEX#8A2F67
RGBrgb(138, 47, 103)
HSLhsl(323, 49%, 36%)
HSVhsv(323, 66%, 54%)
CMYKcmyk(0%, 65.9%, 25.4%, 45.9%)
CIE-LABlab(34.84, 44.60, -12.62)
CIE-LCHlch(34.84, 46.35, 344.20°)
OKLaboklab(45.65% 0.1346 -0.0334)
OKLCHoklch(45.65% 0.139 346.1)
XYZxyz(13.9464, 8.4170, 13.7195)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F67 #2F8A52
analogous
#802F8A #8A2F67 #8A2F3A
triadic
#8A2F67 #678A2F #2F678A
tetradic
#8A2F67 #8A802F #2F8A52 #2F3A8A
square
#8A2F67 #8A802F #2F8A52 #2F3A8A
split-complementary
#8A2F67 #3A8A2F #2F8A80
monochromatic
#2F1023 #5C1F45 #8A2F67 #B83F89 #CC68A5

Accessibility & contrast

On white

7.83
#8A2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F67
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F67#FFFFFF#000000##FFFFFF
##8A2F671.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2f67;
/* rgb */ color: rgb(138, 47, 103);
/* oklch */ color: oklch(45.6% 0.139 346.1);
Tailwind
colors: {
  custom: {
    50: '#af6e92',
    500: '#8a2f67',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f67;
$custom-light: #af6e92;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f67",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 323.077,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.1387,
    "h": 346.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8A2F67
secondary
#62B381
accent
#D9844F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8A2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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