#C02E5B#C02E5B

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

Color values

HEX#C02E5B
RGBrgb(192, 46, 91)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 75%)
CMYKcmyk(0%, 76%, 52.6%, 24.7%)
CIE-LABlab(44.12, 59.54, 9.70)
CIE-LCHlch(44.12, 60.33, 9.25°)
OKLaboklab(54.19% 0.1814 0.0249)
OKLCHoklch(54.19% 0.183 7.8)
XYZxyz(24.6058, 13.9192, 11.2865)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E5B #2EC093
analogous
#C02EA4 #C02E5B #C04A2E
triadic
#C02E5B #5BC02E #2E5BC0
tetradic
#C02E5B #A4C02E #2EC093 #4A2EC0
square
#C02E5B #A4C02E #2EC093 #4A2EC0
split-complementary
#C02E5B #2EC04A #2EA4C0
monochromatic
#5D162C #8F2244 #C02E5B #D6557D #E286A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02E5B#FFFFFF#000000##FFFFFF
##C02E5B1.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)
#54565C
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#D10041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02e5b;
/* rgb */ color: rgb(192, 46, 91);
/* oklch */ color: oklch(54.2% 0.183 7.8);
Tailwind
colors: {
  custom: {
    50: '#d97489',
    500: '#c02e5b',
    950: '#000000',
  },
}
SCSS
$custom: #c02e5b;
$custom-light: #d97489;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e5b",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 341.507,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54187,
    "c": 0.18306,
    "h": 7.8
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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