#D462BC#D462BC

#D462BC is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.4% C 0.178 H 336.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#D462BC
RGBrgb(212, 98, 188)
HSLhsl(313, 57%, 61%)
HSVhsv(313, 54%, 83%)
CMYKcmyk(0%, 53.8%, 11.3%, 16.9%)
CIE-LABlab(58.38, 55.93, -26.58)
CIE-LCHlch(58.38, 61.93, 334.58°)
OKLaboklab(66.42% 0.1628 -0.0719)
OKLCHoklch(66.42% 0.178 336.2)
XYZxyz(40.5964, 26.3662, 50.5182)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D462BC #62D47A
analogous
#B362D4 #D462BC #D46283
triadic
#D462BC #BCD462 #62BCD4
tetradic
#D462BC #D4B362 #62D47A #6283D4
square
#D462BC #D4B362 #62D47A #6283D4
split-complementary
#D462BC #83D462 #62D4B3
monochromatic
#93287D #C335A5 #D462BC #E192D1 #EEC2E5

Accessibility & contrast

On white

3.35
#D462BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#D462BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D462BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D462BC#FFFFFF#000000##000000
##D462BC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BF
Deuteranopia (green-blind)
#8493B9
Tritanopia (blue-blind)
#DE6787
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d462bc;
/* rgb */ color: rgb(212, 98, 188);
/* oklch */ color: oklch(66.4% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#e493d0',
    500: '#d462bc',
    950: '#000000',
  },
}
SCSS
$custom: #d462bc;
$custom-light: #e493d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d462bc",
  "rgb": {
    "r": 212,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 312.632,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.17798,
    "h": 336.2
  },
  "luminance": 0.26363
}

Semantic roles & 50–950 ramp

primary
#D462BC
secondary
#B3DEBC
accent
#C54321
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#160D14
muted
#847E82

Preview Lab

Preview with #D462BC

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

Preview Lab → · Contrast checker → · Palette generator →

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