#D462B2#D462B2

#D462B2 is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.0% C 0.171 H 340.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#D462B2
RGBrgb(212, 98, 178)
HSLhsl(318, 57%, 61%)
HSVhsv(318, 54%, 83%)
CMYKcmyk(0%, 53.8%, 16%, 16.9%)
CIE-LABlab(57.99, 54.38, -21.45)
CIE-LCHlch(57.99, 58.46, 338.48°)
OKLaboklab(66% 0.1606 -0.0575)
OKLCHoklch(66% 0.171 340.3)
XYZxyz(39.5556, 25.9499, 45.0363)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462B2 #62D484
analogous
#BD62D4 #D462B2 #D46279
triadic
#D462B2 #B2D462 #62B2D4
tetradic
#D462B2 #D4BD62 #62D484 #6279D4
square
#D462B2 #D4BD62 #62D484 #6279D4
split-complementary
#D462B2 #79D462 #62D4BD
monochromatic
#932873 #C33599 #D462B2 #E192CA #EEC2E1

Accessibility & contrast

On white

3.39
#D462B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#D462B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462B2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462B2#FFFFFF#000000##000000
##D462B21.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#8892AF
Tritanopia (blue-blind)
#DF6482
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d462b2;
/* rgb */ color: rgb(212, 98, 178);
/* oklch */ color: oklch(66.0% 0.171 340.3);
Tailwind
colors: {
  custom: {
    50: '#e493c9',
    500: '#d462b2',
    950: '#000000',
  },
}
SCSS
$custom: #d462b2;
$custom-light: #e493c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d462b2",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 317.895,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65999,
    "c": 0.17061,
    "h": 340.3
  },
  "luminance": 0.25947
}

Semantic roles & 50–950 ramp

primary
#D462B2
secondary
#B3DEC0
accent
#C55221
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D462B2

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

Preview Lab → · Contrast checker → · Palette generator →

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