#D451B3#D451B3

#D451B3 is a light, vivid pink. Relative luminance 0.231; OKLCH L 64.0% C 0.197 H 338.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D451B3
RGBrgb(212, 81, 179)
HSLhsl(315, 60%, 57%)
HSVhsv(315, 62%, 83%)
CMYKcmyk(0%, 61.8%, 15.6%, 16.9%)
CIE-LABlab(55.22, 62.12, -26.29)
CIE-LCHlch(55.22, 67.46, 337.06°)
OKLaboklab(63.97% 0.1835 -0.0709)
OKLCHoklch(63.97% 0.197 338.9)
XYZxyz(38.2312, 23.1399, 45.0920)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D451B3 #51D472
analogous
#B451D4 #D451B3 #D45171
triadic
#D451B3 #B3D451 #51B3D4
tetradic
#D451B3 #D4B451 #51D472 #5171D4
square
#D451B3 #D4B451 #51D472 #5171D4
split-complementary
#D451B3 #71D451 #51D4B4
monochromatic
#89226F #BA2E97 #D451B3 #E082C8 #ECB3DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D451B3#FFFFFF#000000##000000
##D451B31.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)
#5777B6
Deuteranopia (green-blind)
#7E8CB0
Tritanopia (blue-blind)
#DF557B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d451b3;
/* rgb */ color: rgb(212, 81, 179);
/* oklch */ color: oklch(64.0% 0.197 338.9);
Tailwind
colors: {
  custom: {
    50: '#e48aca',
    500: '#d451b3',
    950: '#000000',
  },
}
SCSS
$custom: #d451b3;
$custom-light: #e48aca;
$custom-dark: #000000;
JSON
{
  "hex": "#d451b3",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 315.115,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.19671,
    "h": 338.9
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#D451B3
secondary
#A6DBB3
accent
#E46C44
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D451B3

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

Preview Lab → · Contrast checker → · Palette generator →

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