#8A2F58#8A2F58

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

Color values

HEX#8A2F58
RGBrgb(138, 47, 88)
HSLhsl(333, 49%, 36%)
HSVhsv(333, 66%, 54%)
CMYKcmyk(0%, 65.9%, 36.2%, 45.9%)
CIE-LABlab(34.28, 42.61, -3.86)
CIE-LCHlch(34.28, 42.78, 354.82°)
OKLaboklab(45.05% 0.1302 -0.0096)
OKLCHoklch(45.05% 0.131 355.8)
XYZxyz(13.2600, 8.1424, 10.1040)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2F58 #2F8A61
analogous
#8A2F86 #8A2F58 #8A342F
triadic
#8A2F58 #588A2F #2F588A
tetradic
#8A2F58 #868A2F #2F8A61 #342F8A
square
#8A2F58 #868A2F #2F8A61 #342F8A
split-complementary
#8A2F58 #2F8A34 #2F868A
monochromatic
#2F101E #5C1F3B #8A2F58 #B83F75 #CC6895

Accessibility & contrast

On white

7.99
#8A2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2F58
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2F58#FFFFFF#000000##FFFFFF
##8A2F581.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2f58;
/* rgb */ color: rgb(138, 47, 88);
/* oklch */ color: oklch(45.1% 0.131 355.8);
Tailwind
colors: {
  custom: {
    50: '#b06d87',
    500: '#8a2f58',
    950: '#000000',
  },
}
SCSS
$custom: #8a2f58;
$custom-light: #b06d87;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2f58",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 332.967,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45053,
    "c": 0.13053,
    "h": 355.8
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#8A2F58
secondary
#62B38E
accent
#D99B4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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