#C02A6A#C02A6A

#C02A6A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.3% C 0.191 H 0.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#C02A6A
RGBrgb(192, 42, 106)
HSLhsl(334, 64%, 46%)
HSVhsv(334, 78%, 75%)
CMYKcmyk(0%, 78.1%, 44.8%, 24.7%)
CIE-LABlab(44.10, 62.04, 0.34)
CIE-LCHlch(44.10, 62.04, 0.32°)
OKLaboklab(54.31% 0.1906 0.0016)
OKLCHoklch(54.31% 0.191 0.5)
XYZxyz(25.1697, 13.9064, 14.9917)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A6A #2AC080
analogous
#C02AB5 #C02A6A #C0352A
triadic
#C02A6A #6AC02A #2A6AC0
tetradic
#C02A6A #B5C02A #2AC080 #352AC0
square
#C02A6A #B5C02A #2AC080 #352AC0
split-complementary
#C02A6A #2AC035 #2AB5C0
monochromatic
#5C1433 #8E1F4E #C02A6A #D84F8A #E381AB

Accessibility & contrast

On white

5.55
#C02A6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C02A6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A6A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A6A#FFFFFF#000000##FFFFFF
##C02A6A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#767367
Tritanopia (blue-blind)
#D10547
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02a6a;
/* rgb */ color: rgb(192, 42, 106);
/* oklch */ color: oklch(54.3% 0.191 0.5);
Tailwind
colors: {
  custom: {
    50: '#d97394',
    500: '#c02a6a',
    950: '#000000',
  },
}
SCSS
$custom: #c02a6a;
$custom-light: #d97394;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a6a",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 334.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.1906,
    "h": 0.5
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#C02A6A
secondary
#7ACCA9
accent
#E7A041
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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