#C045A7#C045A7

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

Color values

HEX#C045A7
RGBrgb(192, 69, 167)
HSLhsl(312, 49%, 51%)
HSVhsv(312, 64%, 75%)
CMYKcmyk(0%, 64.1%, 13%, 24.7%)
CIE-LABlab(49.80, 59.95, -27.91)
CIE-LCHlch(49.80, 66.13, 335.03°)
OKLaboklab(59.23% 0.1757 -0.0757)
OKLCHoklch(59.23% 0.191 336.7)
XYZxyz(30.8418, 18.2553, 38.4510)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045A7 #45C05E
analogous
#9B45C0 #C045A7 #C04569
triadic
#C045A7 #A7C045 #45A7C0
tetradic
#C045A7 #C09B45 #45C05E #4569C0
square
#C045A7 #C09B45 #45C05E #4569C0
split-complementary
#C045A7 #69C045 #45C09B
monochromatic
#68235A #953381 #C045A7 #CF73BD #DFA0D2

Accessibility & contrast

On white

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

On black

4.65
#C045A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045A7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045A7#FFFFFF#000000##000000
##C045A71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#CA4B70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c045a7;
/* rgb */ color: rgb(192, 69, 167);
/* oklch */ color: oklch(59.2% 0.191 336.7);
Tailwind
colors: {
  custom: {
    50: '#d681c1',
    500: '#c045a7',
    950: '#000000',
  },
}
SCSS
$custom: #c045a7;
$custom-light: #d681c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c045a7",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 312.195,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.19132,
    "h": 336.7
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C045A7

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

Preview Lab → · Contrast checker → · Palette generator →

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