#C02AA0#C02AA0

#C02AA0 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 338.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C02AA0
RGBrgb(192, 42, 160)
HSLhsl(313, 64%, 46%)
HSVhsv(313, 78%, 75%)
CMYKcmyk(0%, 78.1%, 16.7%, 24.7%)
CIE-LABlab(46.18, 68.24, -29.40)
CIE-LCHlch(46.18, 74.31, 336.69°)
OKLaboklab(56.5% 0.2026 -0.0798)
OKLCHoklch(56.5% 0.218 338.5)
XYZxyz(28.9121, 15.4033, 34.7014)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AA0 #2AC04A
analogous
#952AC0 #C02AA0 #C02A55
triadic
#C02AA0 #A0C02A #2AA0C0
tetradic
#C02AA0 #C0952A #2AC04A #2A55C0
square
#C02AA0 #C0952A #2AC04A #2A55C0
split-complementary
#C02AA0 #55C02A #2AC095
monochromatic
#5C144C #8E1F76 #C02AA0 #D84FBB #E381CE

Accessibility & contrast

On white

5.15
#C02AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C02AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AA0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AA0#FFFFFF#000000##FFFFFF
##C02AA01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA3
Deuteranopia (green-blind)
#66769D
Tritanopia (blue-blind)
#CB3263
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02aa0;
/* rgb */ color: rgb(192, 42, 160);
/* oklch */ color: oklch(56.5% 0.218 338.5);
Tailwind
colors: {
  custom: {
    50: '#d775bc',
    500: '#c02aa0',
    950: '#000000',
  },
}
SCSS
$custom: #c02aa0;
$custom-light: #d775bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02aa0",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 312.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.21777,
    "h": 338.5
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#C02AA0
secondary
#7ACC8B
accent
#E76441
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C02AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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