#D451B7#D451B7

#D451B7 is a light, vivid pink. Relative luminance 0.233; OKLCH L 64.1% C 0.200 H 337.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D451B7
RGBrgb(212, 81, 183)
HSLhsl(313, 60%, 57%)
HSVhsv(313, 62%, 83%)
CMYKcmyk(0%, 61.8%, 13.7%, 16.9%)
CIE-LABlab(55.38, 62.71, -28.35)
CIE-LCHlch(55.38, 68.82, 335.68°)
OKLaboklab(64.14% 0.1842 -0.0767)
OKLCHoklch(64.14% 0.2 337.4)
XYZxyz(38.6416, 23.3040, 47.2535)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451B7 #51D46E
analogous
#AF51D4 #D451B7 #D45176
triadic
#D451B7 #B7D451 #51B7D4
tetradic
#D451B7 #D4AF51 #51D46E #5176D4
square
#D451B7 #D4AF51 #51D46E #5176D4
split-complementary
#D451B7 #76D451 #51D4AF
monochromatic
#892272 #BA2E9B #D451B7 #E082CB #ECB3E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D451B7#FFFFFF#000000##000000
##D451B71.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)
#5578BA
Deuteranopia (green-blind)
#7D8CB4
Tritanopia (blue-blind)
#DF577D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d451b7;
/* rgb */ color: rgb(212, 81, 183);
/* oklch */ color: oklch(64.1% 0.200 337.4);
Tailwind
colors: {
  custom: {
    50: '#e48acd',
    500: '#d451b7',
    950: '#000000',
  },
}
SCSS
$custom: #d451b7;
$custom-light: #e48acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d451b7",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 313.282,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64144,
    "c": 0.19952,
    "h": 337.4
  },
  "luminance": 0.23301
}

Semantic roles & 50–950 ramp

primary
#D451B7
secondary
#A6DBB2
accent
#E46844
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D451B7

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

Preview Lab → · Contrast checker → · Palette generator →

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