#D151AF#D151AF

#D151AF is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.4% C 0.192 H 339.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D151AF
RGBrgb(209, 81, 175)
HSLhsl(316, 58%, 57%)
HSVhsv(316, 61%, 82%)
CMYKcmyk(0%, 61.2%, 16.3%, 18%)
CIE-LABlab(54.59, 60.72, -24.97)
CIE-LCHlch(54.59, 65.65, 337.65°)
OKLaboklab(63.37% 0.1797 -0.0672)
OKLCHoklch(63.37% 0.192 339.5)
XYZxyz(36.9755, 22.5385, 42.9521)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D151AF #51D173
analogous
#B351D1 #D151AF #D1516F
triadic
#D151AF #AFD151 #51AFD1
tetradic
#D151AF #D1B351 #51D173 #516FD1
square
#D151AF #D1B351 #51D173 #516FD1
split-complementary
#D151AF #6FD151 #51D1B3
monochromatic
#85236B #B53092 #D151AF #DE81C5 #EBB2DC

Accessibility & contrast

On white

3.81
#D151AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#D151AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D151AF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D151AF#FFFFFF#000000##000000
##D151AF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#7E8AAC
Tritanopia (blue-blind)
#DC5579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d151af;
/* rgb */ color: rgb(209, 81, 175);
/* oklch */ color: oklch(63.4% 0.192 339.5);
Tailwind
colors: {
  custom: {
    50: '#e289c7',
    500: '#d151af',
    950: '#000000',
  },
}
SCSS
$custom: #d151af;
$custom-light: #e289c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d151af",
  "rgb": {
    "r": 209,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 315.938,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.19184,
    "h": 339.5
  },
  "luminance": 0.22535
}

Semantic roles & 50–950 ramp

primary
#D151AF
secondary
#A5D9B3
accent
#E17046
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D151AF

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

Preview Lab → · Contrast checker → · Palette generator →

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