#D45FAB#D45FAB

#D45FAB is a light, vivid pink. Relative luminance 0.251; OKLCH L 65.3% C 0.171 H 343.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#D45FAB
RGBrgb(212, 95, 171)
HSLhsl(321, 58%, 60%)
HSVhsv(321, 55%, 83%)
CMYKcmyk(0%, 55.2%, 19.3%, 16.9%)
CIE-LABlab(57.20, 54.75, -18.62)
CIE-LCHlch(57.20, 57.83, 341.22°)
OKLaboklab(65.33% 0.1632 -0.0496)
OKLCHoklch(65.33% 0.171 343.1)
XYZxyz(38.5952, 25.1250, 41.3371)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FAB #5FD488
analogous
#C35FD4 #D45FAB #D45F70
triadic
#D45FAB #ABD45F #5FABD4
tetradic
#D45FAB #D4C35F #5FD488 #5F70D4
square
#D45FAB #D4C35F #5FD488 #5F70D4
split-complementary
#D45FAB #70D45F #5FD4C3
monochromatic
#91276C #C23490 #D45FAB #E18FC4 #EEBFDE

Accessibility & contrast

On white

3.49
#D45FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#D45FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FAB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FAB#FFFFFF#000000##000000
##D45FAB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#8890A8
Tritanopia (blue-blind)
#E05F7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d45fab;
/* rgb */ color: rgb(212, 95, 171);
/* oklch */ color: oklch(65.3% 0.171 343.1);
Tailwind
colors: {
  custom: {
    50: '#e491c4',
    500: '#d45fab',
    950: '#000000',
  },
}
SCSS
$custom: #d45fab;
$custom-light: #e491c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fab",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 321.026,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65325,
    "c": 0.17053,
    "h": 343.1
  },
  "luminance": 0.25122
}

Semantic roles & 50–950 ramp

primary
#D45FAB
secondary
#B1DEC1
accent
#C55A20
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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