#D45CB2#D45CB2

#D45CB2 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.2% C 0.180 H 339.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D45CB2
RGBrgb(212, 92, 178)
HSLhsl(317, 58%, 60%)
HSVhsv(317, 57%, 83%)
CMYKcmyk(0%, 56.6%, 16%, 16.9%)
CIE-LABlab(56.95, 57.16, -23.04)
CIE-LCHlch(56.95, 61.64, 338.04°)
OKLaboklab(65.23% 0.1689 -0.0619)
OKLCHoklch(65.23% 0.18 339.9)
XYZxyz(39.0151, 24.8689, 44.8562)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CB2 #5CD47E
analogous
#BA5CD4 #D45CB2 #D45C76
triadic
#D45CB2 #B2D45C #5CB2D4
tetradic
#D45CB2 #D4BA5C #5CD47E #5C76D4
square
#D45CB2 #D4BA5C #5CD47E #5C76D4
split-complementary
#D45CB2 #76D45C #5CD4BA
monochromatic
#902672 #C03398 #D45CB2 #E18CC9 #EEBDE0

Accessibility & contrast

On white

3.52
#D45CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D45CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CB2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CB2#FFFFFF#000000##000000
##D45CB21.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#8490AF
Tritanopia (blue-blind)
#DF5F7F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d45cb2;
/* rgb */ color: rgb(212, 92, 178);
/* oklch */ color: oklch(65.2% 0.180 339.9);
Tailwind
colors: {
  custom: {
    50: '#e490c9',
    500: '#d45cb2',
    950: '#000000',
  },
}
SCSS
$custom: #d45cb2;
$custom-light: #e490c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cb2",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 317,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.17991,
    "h": 339.9
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#D45CB2
secondary
#AFDDBC
accent
#E17246
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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