#C45FAC#C45FAC

#C45FAC is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.2% C 0.159 H 337.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C45FAC
RGBrgb(196, 95, 172)
HSLhsl(314, 46%, 57%)
HSVhsv(314, 52%, 77%)
CMYKcmyk(0%, 51.5%, 12.2%, 23.1%)
CIE-LABlab(54.97, 50.08, -22.80)
CIE-LCHlch(54.97, 55.03, 335.52°)
OKLaboklab(63.22% 0.1462 -0.0615)
OKLCHoklch(63.22% 0.159 337.2)
XYZxyz(34.3038, 22.9012, 41.6353)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FAC #5FC477
analogous
#A95FC4 #C45FAC #C45F7A
triadic
#C45FAC #ACC45F #5FACC4
tetradic
#C45FAC #C4A95F #5FC477 #5F7AC4
square
#C45FAC #C4A95F #5FC477 #5F7AC4
split-complementary
#C45FAC #7AC45F #5FC4A9
monochromatic
#7B2D69 #A83E8F #C45FAC #D48CC3 #E5B8DA

Accessibility & contrast

On white

3.76
#C45FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#C45FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FAC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FAC#FFFFFF#000000##000000
##C45FAC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#CD637E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c45fac;
/* rgb */ color: rgb(196, 95, 172);
/* oklch */ color: oklch(63.2% 0.159 337.2);
Tailwind
colors: {
  custom: {
    50: '#d890c5',
    500: '#c45fac',
    950: '#000000',
  },
}
SCSS
$custom: #c45fac;
$custom-light: #d890c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fac",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 314.257,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.15856,
    "h": 337.2
  },
  "luminance": 0.22899
}

Semantic roles & 50–950 ramp

primary
#C45FAC
secondary
#ABD4B5
accent
#D67152
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #C45FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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