#C45EA7#C45EA7

#C45EA7 is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.9% C 0.156 H 339.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C45EA7
RGBrgb(196, 94, 167)
HSLhsl(317, 46%, 57%)
HSVhsv(317, 52%, 77%)
CMYKcmyk(0%, 52%, 14.8%, 23.1%)
CIE-LABlab(54.59, 49.78, -20.48)
CIE-LCHlch(54.59, 53.83, 337.63°)
OKLaboklab(62.88% 0.1464 -0.055)
OKLCHoklch(62.88% 0.156 339.4)
XYZxyz(33.7431, 22.5337, 39.1239)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45EA7 #5EC47B
analogous
#AE5EC4 #C45EA7 #C45E74
triadic
#C45EA7 #A7C45E #5EA7C4
tetradic
#C45EA7 #C4AE5E #5EC47B #5E74C4
square
#C45EA7 #C4AE5E #5EC47B #5E74C4
split-complementary
#C45EA7 #74C45E #5EC4AE
monochromatic
#7B2D65 #A73D89 #C45EA7 #D48BBF #E5B8D8

Accessibility & contrast

On white

3.81
#C45EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C45EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45EA7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45EA7#FFFFFF#000000##000000
##C45EA71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6279A9
Deuteranopia (green-blind)
#7F89A4
Tritanopia (blue-blind)
#CE607B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c45ea7;
/* rgb */ color: rgb(196, 94, 167);
/* oklch */ color: oklch(62.9% 0.156 339.4);
Tailwind
colors: {
  custom: {
    50: '#d88fc1',
    500: '#c45ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c45ea7;
$custom-light: #d88fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ea7",
  "rgb": {
    "r": 196,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 317.059,
    "s": 46.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62876,
    "c": 0.15641,
    "h": 339.4
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#C45EA7
secondary
#AAD4B6
accent
#D67752
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C45EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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