#8A2F59#8A2F59

#8A2F59 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.131 H 355.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2F59
RGBrgb(138, 47, 89)
HSLhsl(332, 49%, 36%)
HSVhsv(332, 66%, 54%)
CMYKcmyk(0%, 65.9%, 35.5%, 45.9%)
CIE-LABlab(34.31, 42.73, -4.45)
CIE-LCHlch(34.31, 42.96, 354.05°)
OKLaboklab(45.09% 0.1305 -0.0112)
OKLCHoklch(45.09% 0.131 355.1)
XYZxyz(13.3017, 8.1590, 10.3236)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F59 #2F8A60
analogous
#8A2F87 #8A2F59 #8A332F
triadic
#8A2F59 #598A2F #2F598A
tetradic
#8A2F59 #878A2F #2F8A60 #332F8A
square
#8A2F59 #878A2F #2F8A60 #332F8A
split-complementary
#8A2F59 #2F8A33 #2F878A
monochromatic
#2F101E #5C1F3C #8A2F59 #B83F76 #CC6896

Accessibility & contrast

On white

7.98
#8A2F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2F59
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F59#FFFFFF#000000##FFFFFF
##8A2F591.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465A
Deuteranopia (green-blind)
#575757
Tritanopia (blue-blind)
#952840
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2f59;
/* rgb */ color: rgb(138, 47, 89);
/* oklch */ color: oklch(45.1% 0.131 355.1);
Tailwind
colors: {
  custom: {
    50: '#b06d87',
    500: '#8a2f59',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f59;
$custom-light: #b06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f59",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 332.308,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4509,
    "c": 0.13098,
    "h": 355.1
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#8A2F59
secondary
#62B38D
accent
#D9994F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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