#C045A6#C045A6

#C045A6 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.191 H 337.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C045A6
RGBrgb(192, 69, 166)
HSLhsl(313, 49%, 51%)
HSVhsv(313, 64%, 75%)
CMYKcmyk(0%, 64.1%, 13.5%, 24.7%)
CIE-LABlab(49.76, 59.80, -27.39)
CIE-LCHlch(49.76, 65.77, 335.39°)
OKLaboklab(59.19% 0.1755 -0.0743)
OKLCHoklch(59.19% 0.191 337.1)
XYZxyz(30.7497, 18.2185, 37.9660)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045A6 #45C05F
analogous
#9C45C0 #C045A6 #C04568
triadic
#C045A6 #A6C045 #45A6C0
tetradic
#C045A6 #C09C45 #45C05F #4568C0
square
#C045A6 #C09C45 #45C05F #4568C0
split-complementary
#C045A6 #68C045 #45C09C
monochromatic
#682359 #953380 #C045A6 #CF73BC #DFA0D2

Accessibility & contrast

On white

4.52
#C045A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C045A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045A6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045A6#FFFFFF#000000##000000
##C045A61.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486AA9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#CA4B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c045a6;
/* rgb */ color: rgb(192, 69, 166);
/* oklch */ color: oklch(59.2% 0.191 337.1);
Tailwind
colors: {
  custom: {
    50: '#d681c0',
    500: '#c045a6',
    950: '#000000',
  },
}
SCSS
$custom: #c045a6;
$custom-light: #d681c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c045a6",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 312.683,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59185,
    "c": 0.1906,
    "h": 337.1
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#C045A6
secondary
#95CCA1
accent
#D96C4F
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C045A6

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

Preview Lab → · Contrast checker → · Palette generator →

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