#8A2F5D#8A2F5D

#8A2F5D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.133 H 352.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A2F5D
RGBrgb(138, 47, 93)
HSLhsl(330, 49%, 36%)
HSVhsv(330, 66%, 54%)
CMYKcmyk(0%, 65.9%, 32.6%, 45.9%)
CIE-LABlab(34.45, 43.24, -6.81)
CIE-LCHlch(34.45, 43.77, 351.05°)
OKLaboklab(45.24% 0.1318 -0.0175)
OKLCHoklch(45.24% 0.133 352.4)
XYZxyz(13.4742, 8.2281, 11.2324)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F5D #2F8A5C
analogous
#8A2F8A #8A2F5D #8A2F30
triadic
#8A2F5D #5D8A2F #2F5D8A
tetradic
#8A2F5D #8A8A2F #2F8A5C #2F308A
square
#8A2F5D #8A8A2F #2F8A5C #2F308A
split-complementary
#8A2F5D #308A2F #2F8A8A
monochromatic
#2F101F #5C1F3E #8A2F5D #B83F7C #CC689A

Accessibility & contrast

On white

7.94
#8A2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F5D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F5D#FFFFFF#000000##FFFFFF
##8A2F5D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#56575B
Tritanopia (blue-blind)
#942A42
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f5d;
/* rgb */ color: rgb(138, 47, 93);
/* oklch */ color: oklch(45.2% 0.133 352.4);
Tailwind
colors: {
  custom: {
    50: '#b06e8a',
    500: '#8a2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f5d;
$custom-light: #b06e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f5d",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 329.67,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.13294,
    "h": 352.4
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#8A2F5D
secondary
#62B38A
accent
#D9934F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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