#C45DB2#C45DB2

#C45DB2 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.2% C 0.167 H 334.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C45DB2
RGBrgb(196, 93, 178)
HSLhsl(310, 47%, 57%)
HSVhsv(310, 53%, 77%)
CMYKcmyk(0%, 52.6%, 9.2%, 23.1%)
CIE-LABlab(54.85, 52.04, -26.47)
CIE-LCHlch(54.85, 58.38, 333.04°)
OKLaboklab(63.21% 0.1503 -0.0718)
OKLCHoklch(63.21% 0.167 334.5)
XYZxyz(34.7153, 22.7812, 44.6796)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45DB2 #5DC46F
analogous
#A25DC4 #C45DB2 #C45D7F
triadic
#C45DB2 #B2C45D #5DB2C4
tetradic
#C45DB2 #C4A25D #5DC46F #5D7FC4
square
#C45DB2 #C4A25D #5DC46F #5D7FC4
split-complementary
#C45DB2 #7FC45D #5DC4A2
monochromatic
#7A2C6D #A73D94 #C45DB2 #D48AC7 #E5B7DD

Accessibility & contrast

On white

3.78
#C45DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C45DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45DB2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45DB2#FFFFFF#000000##000000
##C45DB21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#CC637F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c45db2;
/* rgb */ color: rgb(196, 93, 178);
/* oklch */ color: oklch(63.2% 0.167 334.5);
Tailwind
colors: {
  custom: {
    50: '#d88fc9',
    500: '#c45db2',
    950: '#000000',
  },
}
SCSS
$custom: #c45db2;
$custom-light: #d88fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c45db2",
  "rgb": {
    "r": 196,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 310.485,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63212,
    "c": 0.16656,
    "h": 334.5
  },
  "luminance": 0.22779
}

Semantic roles & 50–950 ramp

primary
#C45DB2
secondary
#A9D3B1
accent
#D66952
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C45DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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