#D45FB2#D45FB2

#D45FB2 is a light, vivid pink. Relative luminance 0.254; OKLCH L 65.6% C 0.175 H 340.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#D45FB2
RGBrgb(212, 95, 178)
HSLhsl(317, 58%, 60%)
HSVhsv(317, 55%, 83%)
CMYKcmyk(0%, 55.2%, 16%, 16.9%)
CIE-LABlab(57.46, 55.79, -22.26)
CIE-LCHlch(57.46, 60.06, 338.25°)
OKLaboklab(65.61% 0.1648 -0.0597)
OKLCHoklch(65.61% 0.175 340.1)
XYZxyz(39.2801, 25.3990, 44.9445)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FB2 #5FD481
analogous
#BB5FD4 #D45FB2 #D45F77
triadic
#D45FB2 #B2D45F #5FB2D4
tetradic
#D45FB2 #D4BB5F #5FD481 #5F77D4
square
#D45FB2 #D4BB5F #5FD481 #5F77D4
split-complementary
#D45FB2 #77D45F #5FD4BB
monochromatic
#912773 #C23499 #D45FB2 #E18FC9 #EEBFE0

Accessibility & contrast

On white

3.45
#D45FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#D45FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FB2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FB2#FFFFFF#000000##000000
##D45FB21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB5
Deuteranopia (green-blind)
#8691AF
Tritanopia (blue-blind)
#DF6180
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45fb2;
/* rgb */ color: rgb(212, 95, 178);
/* oklch */ color: oklch(65.6% 0.175 340.1);
Tailwind
colors: {
  custom: {
    50: '#e491c9',
    500: '#d45fb2',
    950: '#000000',
  },
}
SCSS
$custom: #d45fb2;
$custom-light: #e491c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fb2",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 317.436,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65608,
    "c": 0.1753,
    "h": 340.1
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#D45FB2
secondary
#B1DEBE
accent
#C55020
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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