#C02E5A#C02E5A

#C02E5A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.183 H 8.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C02E5A
RGBrgb(192, 46, 90)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 75%)
CMYKcmyk(0%, 76%, 53.1%, 24.7%)
CIE-LABlab(44.09, 59.46, 10.29)
CIE-LCHlch(44.09, 60.35, 9.82°)
OKLaboklab(54.16% 0.181 0.0263)
OKLCHoklch(54.16% 0.183 8.3)
XYZxyz(24.5630, 13.9021, 11.0608)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E5A #2EC094
analogous
#C02EA3 #C02E5A #C04B2E
triadic
#C02E5A #5AC02E #2E5AC0
tetradic
#C02E5A #A3C02E #2EC094 #4B2EC0
square
#C02E5A #A3C02E #2EC094 #4B2EC0
split-complementary
#C02E5A #2EC04B #2EA3C0
monochromatic
#5D162C #8F2243 #C02E5A #D6557C #E286A2

Accessibility & contrast

On white

5.56
#C02E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02E5A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E5A#FFFFFF#000000##FFFFFF
##C02E5A1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565B
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#D20041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02e5a;
/* rgb */ color: rgb(192, 46, 90);
/* oklch */ color: oklch(54.2% 0.183 8.3);
Tailwind
colors: {
  custom: {
    50: '#d97488',
    500: '#c02e5a',
    950: '#000000',
  },
}
SCSS
$custom: #c02e5a;
$custom-light: #d97488;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e5a",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 341.918,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.18289,
    "h": 8.3
  },
  "luminance": 0.13899
}

Semantic roles & 50–950 ramp

primary
#C02E5A
secondary
#7ECCB4
accent
#E4B443
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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