#D151C3#D151C3

#D151C3 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.3% C 0.207 H 332.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D151C3
RGBrgb(209, 81, 195)
HSLhsl(307, 58%, 57%)
HSVhsv(307, 61%, 82%)
CMYKcmyk(0%, 61.2%, 6.7%, 18%)
CIE-LABlab(55.46, 63.78, -35.17)
CIE-LCHlch(55.46, 72.84, 331.13°)
OKLaboklab(64.29% 0.1828 -0.0962)
OKLCHoklch(64.29% 0.207 332.2)
XYZxyz(39.0872, 23.3832, 54.0739)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151C3 #51D15F
analogous
#9F51D1 #D151C3 #D15183
triadic
#D151C3 #C3D151 #51C3D1
tetradic
#D151C3 #D19F51 #51D15F #5183D1
square
#D151C3 #D19F51 #51D15F #5183D1
split-complementary
#D151C3 #83D151 #51D19F
monochromatic
#85237A #B530A6 #D151C3 #DE81D4 #EBB2E4

Accessibility & contrast

On white

3.70
#D151C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D151C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151C3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151C3#FFFFFF#000000##000000
##D151C31.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#768BC0
Tritanopia (blue-blind)
#D95C83
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d151c3;
/* rgb */ color: rgb(209, 81, 195);
/* oklch */ color: oklch(64.3% 0.207 332.2);
Tailwind
colors: {
  custom: {
    50: '#e28ad5',
    500: '#d151c3',
    950: '#000000',
  },
}
SCSS
$custom: #d151c3;
$custom-light: #e28ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d151c3",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 306.563,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.20656,
    "h": 332.2
  },
  "luminance": 0.2338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D151C3

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

Preview Lab → · Contrast checker → · Palette generator →

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