#8D2F62#8D2F62

#8D2F62 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.138 H 350.4°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8D2F62
RGBrgb(141, 47, 98)
HSLhsl(327, 50%, 37%)
HSVhsv(327, 67%, 55%)
CMYKcmyk(0%, 66.7%, 30.5%, 44.7%)
CIE-LABlab(35.16, 44.83, -8.89)
CIE-LCHlch(35.16, 45.70, 348.78°)
OKLaboklab(45.92% 0.1364 -0.0231)
OKLCHoklch(45.92% 0.138 350.4)
XYZxyz(14.2063, 8.5791, 12.4607)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F62 #2F8D5A
analogous
#892F8D #8D2F62 #8D2F33
triadic
#8D2F62 #628D2F #2F628D
tetradic
#8D2F62 #8D892F #2F8D5A #2F338D
square
#8D2F62 #8D892F #2F8D5A #2F338D
split-complementary
#8D2F62 #338D2F #2F8D89
monochromatic
#311022 #5F2042 #8D2F62 #BB3E82 #CD699F

Accessibility & contrast

On white

7.73
#8D2F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D2F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F62
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F62#FFFFFF#000000##FFFFFF
##8D2F621.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4863
Deuteranopia (green-blind)
#575960
Tritanopia (blue-blind)
#972A44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2f62;
/* rgb */ color: rgb(141, 47, 98);
/* oklch */ color: oklch(45.9% 0.138 350.4);
Tailwind
colors: {
  custom: {
    50: '#b26e8e',
    500: '#8d2f62',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f62;
$custom-light: #b26e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f62",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 327.447,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.13832,
    "h": 350.4
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#8D2F62
secondary
#64B488
accent
#DA8E4E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11080C
muted
#807B7D

Preview Lab

Preview with #8D2F62

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

Preview Lab → · Contrast checker → · Palette generator →

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