#8A2F64#8A2F64

#8A2F64 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.5% C 0.137 H 347.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A2F64
RGBrgb(138, 47, 100)
HSLhsl(325, 49%, 36%)
HSVhsv(325, 66%, 54%)
CMYKcmyk(0%, 65.9%, 27.5%, 45.9%)
CIE-LABlab(34.72, 44.18, -10.89)
CIE-LCHlch(34.72, 45.50, 346.15°)
OKLaboklab(45.52% 0.1338 -0.0286)
OKLCHoklch(45.52% 0.137 347.9)
XYZxyz(13.7986, 8.3578, 12.9406)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F64 #2F8A55
analogous
#832F8A #8A2F64 #8A2F37
triadic
#8A2F64 #648A2F #2F648A
tetradic
#8A2F64 #8A832F #2F8A55 #2F378A
square
#8A2F64 #8A832F #2F8A55 #2F378A
split-complementary
#8A2F64 #378A2F #2F8A83
monochromatic
#2F1022 #5C1F43 #8A2F64 #B83F85 #CC68A2

Accessibility & contrast

On white

7.86
#8A2F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F64
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F64#FFFFFF#000000##FFFFFF
##8A2F641.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4866
Deuteranopia (green-blind)
#545762
Tritanopia (blue-blind)
#942C45
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2f64;
/* rgb */ color: rgb(138, 47, 100);
/* oklch */ color: oklch(45.5% 0.137 347.9);
Tailwind
colors: {
  custom: {
    50: '#af6e90',
    500: '#8a2f64',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f64;
$custom-light: #af6e90;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f64",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 325.055,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.13685,
    "h": 347.9
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#8A2F64
secondary
#62B384
accent
#D9894F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2F64

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

Preview Lab → · Contrast checker → · Palette generator →

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