#8A2F5F#8A2F5F

#8A2F5F is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.134 H 351.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8A2F5F
RGBrgb(138, 47, 95)
HSLhsl(328, 49%, 36%)
HSVhsv(328, 66%, 54%)
CMYKcmyk(0%, 65.9%, 31.2%, 45.9%)
CIE-LABlab(34.53, 43.50, -7.98)
CIE-LCHlch(34.53, 44.23, 349.60°)
OKLaboklab(45.32% 0.1324 -0.0207)
OKLCHoklch(45.32% 0.134 351.1)
XYZxyz(13.5640, 8.2640, 11.7050)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F5F #2F8A5A
analogous
#882F8A #8A2F5F #8A2F32
triadic
#8A2F5F #5F8A2F #2F5F8A
tetradic
#8A2F5F #8A882F #2F8A5A #2F328A
square
#8A2F5F #8A882F #2F8A5A #2F328A
split-complementary
#8A2F5F #328A2F #2F8A88
monochromatic
#2F1020 #5C1F40 #8A2F5F #B83F7E #CC689C

Accessibility & contrast

On white

7.92
#8A2F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F5F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F5F#FFFFFF#000000##FFFFFF
##8A2F5F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#942A43
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f5f;
/* rgb */ color: rgb(138, 47, 95);
/* oklch */ color: oklch(45.3% 0.134 351.1);
Tailwind
colors: {
  custom: {
    50: '#af6e8c',
    500: '#8a2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f5f;
$custom-light: #af6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f5f",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 328.352,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.134,
    "h": 351.1
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#8A2F5F
secondary
#62B388
accent
#D9904F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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