#C02A66#C02A66

#C02A66 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.189 H 2.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C02A66
RGBrgb(192, 42, 102)
HSLhsl(336, 64%, 46%)
HSVhsv(336, 78%, 75%)
CMYKcmyk(0%, 78.1%, 46.9%, 24.7%)
CIE-LABlab(43.98, 61.68, 2.66)
CIE-LCHlch(43.98, 61.73, 2.47°)
OKLaboklab(54.18% 0.1892 0.0075)
OKLCHoklch(54.18% 0.189 2.3)
XYZxyz(24.9666, 13.8251, 13.9216)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A66 #2AC084
analogous
#C02AB1 #C02A66 #C0392A
triadic
#C02A66 #66C02A #2A66C0
tetradic
#C02A66 #B1C02A #2AC084 #392AC0
square
#C02A66 #B1C02A #2AC084 #392AC0
split-complementary
#C02A66 #2AC039 #2AB1C0
monochromatic
#5C1431 #8E1F4B #C02A66 #D84F86 #E381A8

Accessibility & contrast

On white

5.58
#C02A66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C02A66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A66
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A66#FFFFFF#000000##FFFFFF
##C02A661.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5567
Deuteranopia (green-blind)
#777263
Tritanopia (blue-blind)
#D10045
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02a66;
/* rgb */ color: rgb(192, 42, 102);
/* oklch */ color: oklch(54.2% 0.189 2.3);
Tailwind
colors: {
  custom: {
    50: '#d97391',
    500: '#c02a66',
    950: '#000000',
  },
}
SCSS
$custom: #c02a66;
$custom-light: #d97391;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a66",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 336,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54183,
    "c": 0.18938,
    "h": 2.3
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#C02A66
secondary
#7ACCAB
accent
#E7A541
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02A66

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

Preview Lab → · Contrast checker → · Palette generator →

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