#C45FA7#C45FA7

#C45FA7 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.0% C 0.155 H 339.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C45FA7
RGBrgb(196, 95, 167)
HSLhsl(317, 46%, 57%)
HSVhsv(317, 52%, 77%)
CMYKcmyk(0%, 51.5%, 14.8%, 23.1%)
CIE-LABlab(54.78, 49.29, -20.20)
CIE-LCHlch(54.78, 53.26, 337.72°)
OKLaboklab(63.01% 0.145 -0.0542)
OKLCHoklch(63.01% 0.155 339.5)
XYZxyz(33.8326, 22.7127, 39.1538)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FA7 #5FC47C
analogous
#AF5FC4 #C45FA7 #C45F74
triadic
#C45FA7 #A7C45F #5FA7C4
tetradic
#C45FA7 #C4AF5F #5FC47C #5F74C4
square
#C45FA7 #C4AF5F #5FC47C #5F74C4
split-complementary
#C45FA7 #74C45F #5FC4AF
monochromatic
#7B2D65 #A83E89 #C45FA7 #D48CC0 #E5B8D8

Accessibility & contrast

On white

3.79
#C45FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C45FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FA7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FA7#FFFFFF#000000##000000
##C45FA71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c45fa7;
/* rgb */ color: rgb(196, 95, 167);
/* oklch */ color: oklch(63.0% 0.155 339.5);
Tailwind
colors: {
  custom: {
    50: '#d890c1',
    500: '#c45fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c45fa7;
$custom-light: #d890c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fa7",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 317.228,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.15478,
    "h": 339.5
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#C45FA7
secondary
#ABD4B7
accent
#D67852
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #C45FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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