#C02A8E#C02A8E

#C02A8E is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.207 H 345.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C02A8E
RGBrgb(192, 42, 142)
HSLhsl(320, 64%, 46%)
HSVhsv(320, 78%, 75%)
CMYKcmyk(0%, 78.1%, 26%, 24.7%)
CIE-LABlab(45.38, 65.91, -19.82)
CIE-LCHlch(45.38, 68.83, 343.27°)
OKLaboklab(55.67% 0.2 -0.0527)
OKLCHoklch(55.67% 0.207 345.2)
XYZxyz(27.4499, 14.8184, 27.0006)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A8E #2AC05C
analogous
#A72AC0 #C02A8E #C02A43
triadic
#C02A8E #8EC02A #2A8EC0
tetradic
#C02A8E #C0A72A #2AC05C #2A43C0
square
#C02A8E #C0A72A #2AC05C #2A43C0
split-complementary
#C02A8E #43C02A #2AC0A7
monochromatic
#5C1444 #8E1F69 #C02A8E #D84FAB #E381C3

Accessibility & contrast

On white

5.30
#C02A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C02A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A8E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A8E#FFFFFF#000000##FFFFFF
##C02A8E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B91
Deuteranopia (green-blind)
#6D748B
Tritanopia (blue-blind)
#CD2759
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02a8e;
/* rgb */ color: rgb(192, 42, 142);
/* oklch */ color: oklch(55.7% 0.207 345.2);
Tailwind
colors: {
  custom: {
    50: '#d874af',
    500: '#c02a8e',
    950: '#000000',
  },
}
SCSS
$custom: #c02a8e;
$custom-light: #d874af;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a8e",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 320,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.20686,
    "h": 345.2
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#C02A8E
secondary
#7ACC95
accent
#E77841
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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