#8D285F#8D285F

#8D285F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.146 H 351.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8D285F
RGBrgb(141, 40, 95)
HSLhsl(327, 56%, 35%)
HSVhsv(327, 72%, 55%)
CMYKcmyk(0%, 71.6%, 32.6%, 44.7%)
CIE-LABlab(34.00, 47.34, -8.72)
CIE-LCHlch(34.00, 48.14, 349.56°)
OKLaboklab(45.03% 0.1446 -0.0226)
OKLCHoklch(45.03% 0.146 351.1)
XYZxyz(13.8096, 8.0081, 11.6427)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D285F #288D56
analogous
#88288D #8D285F #8D282C
triadic
#8D285F #5F8D28 #285F8D
tetradic
#8D285F #8D8828 #288D56 #282C8D
square
#8D285F #8D8828 #288D56 #282C8D
split-complementary
#8D285F #2C8D28 #288D88
monochromatic
#2E0D1F #5D1A3F #8D285F #BD367F #D15E9D

Accessibility & contrast

On white

8.07
#8D285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D285F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D285F#FFFFFF#000000##FFFFFF
##8D285F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384461
Deuteranopia (green-blind)
#55575D
Tritanopia (blue-blind)
#982240
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d285f;
/* rgb */ color: rgb(141, 40, 95);
/* oklch */ color: oklch(45.0% 0.146 351.1);
Tailwind
colors: {
  custom: {
    50: '#b26a8c',
    500: '#8d285f',
    950: '#000000',
  },
}
SCSS
$custom: #8d285f;
$custom-light: #b26a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d285f",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 327.327,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45033,
    "c": 0.14631,
    "h": 351.1
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#8D285F
secondary
#5AB784
accent
#DF8D49
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D285F

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

Preview Lab → · Contrast checker → · Palette generator →

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