#D45CB3#D45CB3

#D45CB3 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.3% C 0.181 H 339.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#D45CB3
RGBrgb(212, 92, 179)
HSLhsl(317, 58%, 60%)
HSVhsv(317, 57%, 83%)
CMYKcmyk(0%, 56.6%, 15.6%, 16.9%)
CIE-LABlab(56.99, 57.31, -23.56)
CIE-LCHlch(56.99, 61.97, 337.65°)
OKLaboklab(65.27% 0.1691 -0.0633)
OKLCHoklch(65.27% 0.181 339.5)
XYZxyz(39.1158, 24.9092, 45.3869)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45CB3 #5CD47D
analogous
#B95CD4 #D45CB3 #D45C77
triadic
#D45CB3 #B3D45C #5CB3D4
tetradic
#D45CB3 #D4B95C #5CD47D #5C77D4
square
#D45CB3 #D4B95C #5CD47D #5C77D4
split-complementary
#D45CB3 #77D45C #5CD4B9
monochromatic
#902673 #C03399 #D45CB3 #E18CCA #EEBDE0

Accessibility & contrast

On white

3.51
#D45CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#D45CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45CB3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45CB3#FFFFFF#000000##000000
##D45CB31.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#8490B0
Tritanopia (blue-blind)
#DF5F80
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d45cb3;
/* rgb */ color: rgb(212, 92, 179);
/* oklch */ color: oklch(65.3% 0.181 339.5);
Tailwind
colors: {
  custom: {
    50: '#e490ca',
    500: '#d45cb3',
    950: '#000000',
  },
}
SCSS
$custom: #d45cb3;
$custom-light: #e490ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d45cb3",
  "rgb": {
    "r": 212,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 316.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65269,
    "c": 0.18061,
    "h": 339.5
  },
  "luminance": 0.24906
}

Semantic roles & 50–950 ramp

primary
#D45CB3
secondary
#AFDDBB
accent
#E17146
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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