#8A2F61#8A2F61

#8A2F61 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.135 H 349.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A2F61
RGBrgb(138, 47, 97)
HSLhsl(327, 49%, 36%)
HSVhsv(327, 66%, 54%)
CMYKcmyk(0%, 65.9%, 29.7%, 45.9%)
CIE-LABlab(34.60, 43.77, -9.15)
CIE-LCHlch(34.60, 44.71, 348.19°)
OKLaboklab(45.4% 0.133 -0.0239)
OKLCHoklch(45.4% 0.135 349.8)
XYZxyz(13.6560, 8.3008, 12.1900)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F61 #2F8A58
analogous
#862F8A #8A2F61 #8A2F34
triadic
#8A2F61 #618A2F #2F618A
tetradic
#8A2F61 #8A862F #2F8A58 #2F348A
square
#8A2F61 #8A862F #2F8A58 #2F348A
split-complementary
#8A2F61 #348A2F #2F8A86
monochromatic
#2F1021 #5C1F41 #8A2F61 #B83F81 #CC689F

Accessibility & contrast

On white

7.90
#8A2F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8A2F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F61
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F61#FFFFFF#000000##FFFFFF
##8A2F611.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4762
Deuteranopia (green-blind)
#55575F
Tritanopia (blue-blind)
#942B44
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f61;
/* rgb */ color: rgb(138, 47, 97);
/* oklch */ color: oklch(45.4% 0.135 349.8);
Tailwind
colors: {
  custom: {
    50: '#af6e8e',
    500: '#8a2f61',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f61;
$custom-light: #af6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f61",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 327.033,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.1351,
    "h": 349.8
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#8A2F61
secondary
#62B386
accent
#D98D4F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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