#C045A4#C045A4

#C045A4 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.189 H 337.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C045A4
RGBrgb(192, 69, 164)
HSLhsl(314, 49%, 51%)
HSVhsv(314, 64%, 75%)
CMYKcmyk(0%, 64.1%, 14.6%, 24.7%)
CIE-LABlab(49.67, 59.50, -26.35)
CIE-LCHlch(49.67, 65.07, 336.12°)
OKLaboklab(59.09% 0.1752 -0.0713)
OKLCHoklch(59.09% 0.189 337.9)
XYZxyz(30.5677, 18.1457, 37.0073)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045A4 #45C061
analogous
#9F45C0 #C045A4 #C04566
triadic
#C045A4 #A4C045 #45A4C0
tetradic
#C045A4 #C09F45 #45C061 #4566C0
square
#C045A4 #C09F45 #45C061 #4566C0
split-complementary
#C045A4 #66C045 #45C09F
monochromatic
#682358 #95337F #C045A4 #CF73BA #DFA0D1

Accessibility & contrast

On white

4.54
#C045A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C045A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045A4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045A4#FFFFFF#000000##000000
##C045A41.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#496AA7
Deuteranopia (green-blind)
#6F7DA1
Tritanopia (blue-blind)
#CA4A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c045a4;
/* rgb */ color: rgb(192, 69, 164);
/* oklch */ color: oklch(59.1% 0.189 337.9);
Tailwind
colors: {
  custom: {
    50: '#d681bf',
    500: '#c045a4',
    950: '#000000',
  },
}
SCSS
$custom: #c045a4;
$custom-light: #d681bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c045a4",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 313.659,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.18917,
    "h": 337.9
  },
  "luminance": 0.18143
}

Semantic roles & 50–950 ramp

primary
#C045A4
secondary
#95CCA2
accent
#D96E4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C045A4

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

Preview Lab → · Contrast checker → · Palette generator →

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