#C045A2#C045A2

#C045A2 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.188 H 338.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C045A2
RGBrgb(192, 69, 162)
HSLhsl(315, 49%, 51%)
HSVhsv(315, 64%, 75%)
CMYKcmyk(0%, 64.1%, 15.6%, 24.7%)
CIE-LABlab(49.59, 59.20, -25.30)
CIE-LCHlch(49.59, 64.38, 336.86°)
OKLaboklab(59% 0.1749 -0.0683)
OKLCHoklch(59% 0.188 338.7)
XYZxyz(30.3885, 18.0740, 36.0636)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045A2 #45C063
analogous
#A045C0 #C045A2 #C04564
triadic
#C045A2 #A2C045 #45A2C0
tetradic
#C045A2 #C0A045 #45C063 #4564C0
square
#C045A2 #C0A045 #45C063 #4564C0
split-complementary
#C045A2 #64C045 #45C0A0
monochromatic
#682357 #95337D #C045A2 #CF73B9 #DFA0D0

Accessibility & contrast

On white

4.55
#C045A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C045A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045A2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045A2#FFFFFF#000000##000000
##C045A21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA5
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#CA496D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c045a2;
/* rgb */ color: rgb(192, 69, 162);
/* oklch */ color: oklch(59.0% 0.188 338.7);
Tailwind
colors: {
  custom: {
    50: '#d681bd',
    500: '#c045a2',
    950: '#000000',
  },
}
SCSS
$custom: #c045a2;
$custom-light: #d681bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c045a2",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 314.634,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59,
    "c": 0.18776,
    "h": 338.7
  },
  "luminance": 0.18071
}

Semantic roles & 50–950 ramp

primary
#C045A2
secondary
#95CCA2
accent
#D9714F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C045A2

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

Preview Lab → · Contrast checker → · Palette generator →

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