#D151BE#D151BE

#D151BE is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.0% C 0.203 H 333.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D151BE
RGBrgb(209, 81, 190)
HSLhsl(309, 58%, 57%)
HSVhsv(309, 61%, 82%)
CMYKcmyk(0%, 61.2%, 9.1%, 18%)
CIE-LABlab(55.24, 62.99, -32.65)
CIE-LCHlch(55.24, 70.95, 332.60°)
OKLaboklab(64.05% 0.1821 -0.089)
OKLCHoklch(64.05% 0.203 333.9)
XYZxyz(38.5314, 23.1608, 51.1463)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151BE #51D164
analogous
#A451D1 #D151BE #D1517E
triadic
#D151BE #BED151 #51BED1
tetradic
#D151BE #D1A451 #51D164 #517ED1
square
#D151BE #D1A451 #51D164 #517ED1
split-complementary
#D151BE #7ED151 #51D1A4
monochromatic
#852376 #B530A1 #D151BE #DE81D0 #EBB2E2

Accessibility & contrast

On white

3.73
#D151BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D151BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151BE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151BE#FFFFFF#000000##000000
##D151BE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#DA5A80
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d151be;
/* rgb */ color: rgb(209, 81, 190);
/* oklch */ color: oklch(64.0% 0.203 333.9);
Tailwind
colors: {
  custom: {
    50: '#e28ad2',
    500: '#d151be',
    950: '#000000',
  },
}
SCSS
$custom: #d151be;
$custom-light: #e28ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#d151be",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 308.906,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.20272,
    "h": 333.9
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

primary
#D151BE
secondary
#A5D9AD
accent
#E15D46
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D151BE

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

Preview Lab → · Contrast checker → · Palette generator →

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