#D54FB2#D54FB2

#D54FB2 is a light, vivid pink. Relative luminance 0.230; OKLCH L 63.8% C 0.199 H 339.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#D54FB2
RGBrgb(213, 79, 178)
HSLhsl(316, 61%, 57%)
HSVhsv(316, 63%, 84%)
CMYKcmyk(0%, 62.9%, 16.4%, 16.5%)
CIE-LABlab(55.03, 63.07, -25.99)
CIE-LCHlch(55.03, 68.22, 337.61°)
OKLaboklab(63.84% 0.1868 -0.07)
OKLCHoklch(63.84% 0.199 339.4)
XYZxyz(38.2732, 22.9558, 44.5260)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54FB2 #4FD572
analogous
#B54FD5 #D54FB2 #D54F6F
triadic
#D54FB2 #B2D54F #4FB2D5
tetradic
#D54FB2 #D5B54F #4FD572 #4F6FD5
square
#D54FB2 #D5B54F #4FD572 #4F6FD5
split-complementary
#D54FB2 #6FD54F #4FD5B5
monochromatic
#89216E #BA2C95 #D54FB2 #E180C8 #EDB2DD

Accessibility & contrast

On white

3.76
#D54FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#D54FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54FB2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54FB2#FFFFFF#000000##000000
##D54FB21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#E15379
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d54fb2;
/* rgb */ color: rgb(213, 79, 178);
/* oklch */ color: oklch(63.8% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#e589c9',
    500: '#d54fb2',
    950: '#000000',
  },
}
SCSS
$custom: #d54fb2;
$custom-light: #e589c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d54fb2",
  "rgb": {
    "r": 213,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 315.672,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.19949,
    "h": 339.4
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#D54FB2
secondary
#A5DBB3
accent
#E56D43
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D54FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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