#D451B2#D451B2

#D451B2 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.9% C 0.196 H 339.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D451B2
RGBrgb(212, 81, 178)
HSLhsl(316, 60%, 57%)
HSVhsv(316, 62%, 83%)
CMYKcmyk(0%, 61.8%, 16%, 16.9%)
CIE-LABlab(55.17, 61.98, -25.77)
CIE-LCHlch(55.17, 67.12, 337.42°)
OKLaboklab(63.92% 0.1833 -0.0695)
OKLCHoklch(63.92% 0.196 339.2)
XYZxyz(38.1304, 23.0996, 44.5613)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451B2 #51D473
analogous
#B551D4 #D451B2 #D45170
triadic
#D451B2 #B2D451 #51B2D4
tetradic
#D451B2 #D4B551 #51D473 #5170D4
square
#D451B2 #D4B551 #51D473 #5170D4
split-complementary
#D451B2 #70D451 #51D4B5
monochromatic
#89226E #BA2E96 #D451B2 #E082C8 #ECB3DD

Accessibility & contrast

On white

3.74
#D451B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D451B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D451B2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D451B2#FFFFFF#000000##000000
##D451B21.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7F8CAF
Tritanopia (blue-blind)
#DF557A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d451b2;
/* rgb */ color: rgb(212, 81, 178);
/* oklch */ color: oklch(63.9% 0.196 339.2);
Tailwind
colors: {
  custom: {
    50: '#e48ac9',
    500: '#d451b2',
    950: '#000000',
  },
}
SCSS
$custom: #d451b2;
$custom-light: #e48ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d451b2",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 315.573,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.19603,
    "h": 339.2
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#D451B2
secondary
#A6DBB4
accent
#E46E44
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D451B2

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

Preview Lab → · Contrast checker → · Palette generator →

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