#C02A71#C02A71

#C02A71 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.193 H 357.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C02A71
RGBrgb(192, 42, 113)
HSLhsl(332, 64%, 46%)
HSVhsv(332, 78%, 75%)
CMYKcmyk(0%, 78.1%, 41.1%, 24.7%)
CIE-LABlab(44.32, 62.70, -3.68)
CIE-LCHlch(44.32, 62.81, 356.65°)
OKLaboklab(54.54% 0.1928 -0.0089)
OKLCHoklch(54.54% 0.193 357.4)
XYZxyz(25.5487, 14.0580, 16.9877)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A71 #2AC079
analogous
#C02ABC #C02A71 #C02E2A
triadic
#C02A71 #71C02A #2A71C0
tetradic
#C02A71 #BCC02A #2AC079 #2E2AC0
square
#C02A71 #BCC02A #2AC079 #2E2AC0
split-complementary
#C02A71 #2AC02E #2ABCC0
monochromatic
#5C1436 #8E1F53 #C02A71 #D84F90 #E381B0

Accessibility & contrast

On white

5.51
#C02A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#C02A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A71
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A71#FFFFFF#000000##FFFFFF
##C02A711.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#74736E
Tritanopia (blue-blind)
#D00F4A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02a71;
/* rgb */ color: rgb(192, 42, 113);
/* oklch */ color: oklch(54.5% 0.193 357.4);
Tailwind
colors: {
  custom: {
    50: '#d87399',
    500: '#c02a71',
    950: '#000000',
  },
}
SCSS
$custom: #c02a71;
$custom-light: #d87399;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a71",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 331.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.19303,
    "h": 357.4
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#C02A71
secondary
#7ACCA5
accent
#E79841
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C02A71

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

Preview Lab → · Contrast checker → · Palette generator →

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