#8D2288#8D2288

#8D2288 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.181 H 330.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8D2288
RGBrgb(141, 34, 136)
HSLhsl(303, 61%, 34%)
HSVhsv(303, 76%, 55%)
CMYKcmyk(0%, 75.9%, 3.5%, 44.7%)
CIE-LABlab(35.17, 55.50, -32.75)
CIE-LCHlch(35.17, 64.45, 329.45°)
OKLaboklab(46.51% 0.1572 -0.0904)
OKLCHoklch(46.51% 0.181 330.1)
XYZxyz(16.0004, 8.5856, 24.1022)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2288 #228D27
analogous
#5D228D #8D2288 #8D2253
triadic
#8D2288 #888D22 #22888D
tetradic
#8D2288 #8D5D22 #228D27 #22538D
square
#8D2288 #8D5D22 #228D27 #22538D
split-complementary
#8D2288 #538D22 #228D5D
monochromatic
#2A0A29 #5C1658 #8D2288 #BE2EB8 #D654D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2288#FFFFFF#000000##FFFFFF
##8D22881.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)
#14498B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#923153
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2288;
/* rgb */ color: rgb(141, 34, 136);
/* oklch */ color: oklch(46.5% 0.181 330.1);
Tailwind
colors: {
  custom: {
    50: '#b269ab',
    500: '#8d2288',
    950: '#000000',
  },
}
SCSS
$custom: #8d2288;
$custom-light: #b269ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2288",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 302.804,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.18138,
    "h": 330.1
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#8D2288
secondary
#51B956
accent
#E44B44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2288

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

Preview Lab → · Contrast checker → · Palette generator →

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