#C02A56#C02A56

#C02A56 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.186 H 9.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C02A56
RGBrgb(192, 42, 86)
HSLhsl(342, 64%, 46%)
HSVhsv(342, 78%, 75%)
CMYKcmyk(0%, 78.1%, 55.2%, 24.7%)
CIE-LABlab(43.56, 60.38, 12.04)
CIE-LCHlch(43.56, 61.57, 11.28°)
OKLaboklab(53.74% 0.1834 0.0305)
OKLCHoklch(53.74% 0.186 9.4)
XYZxyz(24.2482, 13.5378, 10.1385)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A56 #2AC094
analogous
#C02AA1 #C02A56 #C0492A
triadic
#C02A56 #56C02A #2A56C0
tetradic
#C02A56 #A1C02A #2AC094 #492AC0
square
#C02A56 #A1C02A #2AC094 #492AC0
split-complementary
#C02A56 #2AC049 #2AA1C0
monochromatic
#5C1429 #8E1F40 #C02A56 #D84F77 #E3819E

Accessibility & contrast

On white

5.67
#C02A56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C02A56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A56
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A56#FFFFFF#000000##FFFFFF
##C02A561.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535457
Deuteranopia (green-blind)
#797252
Tritanopia (blue-blind)
#D2003D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02a56;
/* rgb */ color: rgb(192, 42, 86);
/* oklch */ color: oklch(53.7% 0.186 9.4);
Tailwind
colors: {
  custom: {
    50: '#da7285',
    500: '#c02a56',
    950: '#000000',
  },
}
SCSS
$custom: #c02a56;
$custom-light: #da7285;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a56",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 342.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.18592,
    "h": 9.4
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#C02A56
secondary
#7ACCB4
accent
#E7B641
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02A56

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

Preview Lab → · Contrast checker → · Palette generator →

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