#C045A8#C045A8

#C045A8 is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.3% C 0.192 H 336.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C045A8
RGBrgb(192, 69, 168)
HSLhsl(312, 49%, 51%)
HSVhsv(312, 64%, 75%)
CMYKcmyk(0%, 64.1%, 12.5%, 24.7%)
CIE-LABlab(49.85, 60.10, -28.43)
CIE-LCHlch(49.85, 66.49, 334.68°)
OKLaboklab(59.28% 0.1758 -0.0772)
OKLCHoklch(59.28% 0.192 336.3)
XYZxyz(30.9346, 18.2924, 38.9397)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045A8 #45C05D
analogous
#9A45C0 #C045A8 #C0456A
triadic
#C045A8 #A8C045 #45A8C0
tetradic
#C045A8 #C09A45 #45C05D #456AC0
square
#C045A8 #C09A45 #45C05D #456AC0
split-complementary
#C045A8 #6AC045 #45C09A
monochromatic
#68235A #953382 #C045A8 #CF73BD #DFA0D3

Accessibility & contrast

On white

4.51
#C045A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C045A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045A8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045A8#FFFFFF#000000##000000
##C045A81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#476BAB
Deuteranopia (green-blind)
#6E7DA5
Tritanopia (blue-blind)
#C94C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c045a8;
/* rgb */ color: rgb(192, 69, 168);
/* oklch */ color: oklch(59.3% 0.192 336.3);
Tailwind
colors: {
  custom: {
    50: '#d681c2',
    500: '#c045a8',
    950: '#000000',
  },
}
SCSS
$custom: #c045a8;
$custom-light: #d681c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c045a8",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 311.707,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.19205,
    "h": 336.3
  },
  "luminance": 0.1829
}

Semantic roles & 50–950 ramp

primary
#C045A8
secondary
#95CCA0
accent
#D96A4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C045A8

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

Preview Lab → · Contrast checker → · Palette generator →

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