#D151C1#D151C1

#D151C1 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.205 H 332.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D151C1
RGBrgb(209, 81, 193)
HSLhsl(308, 58%, 57%)
HSVhsv(308, 61%, 82%)
CMYKcmyk(0%, 61.2%, 7.7%, 18%)
CIE-LABlab(55.37, 63.47, -34.16)
CIE-LCHlch(55.37, 72.08, 331.71°)
OKLaboklab(64.19% 0.1825 -0.0934)
OKLCHoklch(64.19% 0.205 332.9)
XYZxyz(38.8626, 23.2933, 52.8909)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C1 #51D161
analogous
#A151D1 #D151C1 #D15181
triadic
#D151C1 #C1D151 #51C1D1
tetradic
#D151C1 #D1A151 #51D161 #5181D1
square
#D151C1 #D1A151 #51D161 #5181D1
split-complementary
#D151C1 #81D151 #51D1A1
monochromatic
#852378 #B530A4 #D151C1 #DE81D2 #EBB2E3

Accessibility & contrast

On white

3.71
#D151C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D151C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C1#FFFFFF#000000##000000
##D151C11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C4
Deuteranopia (green-blind)
#778BBE
Tritanopia (blue-blind)
#DA5B82
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c1;
/* rgb */ color: rgb(209, 81, 193);
/* oklch */ color: oklch(64.2% 0.205 332.9);
Tailwind
colors: {
  custom: {
    50: '#e28ad4',
    500: '#d151c1',
    950: '#000000',
  },
}
SCSS
$custom: #d151c1;
$custom-light: #e28ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c1",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 307.5,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.20501,
    "h": 332.9
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#D151C1
secondary
#A5D9AB
accent
#E15A46
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D151C1

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

Preview Lab → · Contrast checker → · Palette generator →

#D151C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva