#C02E98#C02E98

#C02E98 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.209 H 341.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C02E98
RGBrgb(192, 46, 152)
HSLhsl(316, 61%, 47%)
HSVhsv(316, 76%, 75%)
CMYKcmyk(0%, 76%, 20.8%, 24.7%)
CIE-LABlab(46.22, 66.02, -24.56)
CIE-LCHlch(46.22, 70.44, 339.60°)
OKLaboklab(56.41% 0.1981 -0.0661)
OKLCHoklch(56.41% 0.209 341.6)
XYZxyz(28.3837, 15.4304, 31.1832)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E98 #2EC056
analogous
#9F2EC0 #C02E98 #C02E4F
triadic
#C02E98 #98C02E #2E98C0
tetradic
#C02E98 #C09F2E #2EC056 #2E4FC0
square
#C02E98 #C09F2E #2EC056 #2E4FC0
split-complementary
#C02E98 #4FC02E #2EC09F
monochromatic
#5D164A #8F2271 #C02E98 #D655B3 #E286C9

Accessibility & contrast

On white

5.14
#C02E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C02E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E98
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E98#FFFFFF#000000##FFFFFF
##C02E981.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#CC3160
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02e98;
/* rgb */ color: rgb(192, 46, 152);
/* oklch */ color: oklch(56.4% 0.209 341.6);
Tailwind
colors: {
  custom: {
    50: '#d776b6',
    500: '#c02e98',
    950: '#000000',
  },
}
SCSS
$custom: #c02e98;
$custom-light: #d776b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e98",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 316.438,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.20885,
    "h": 341.6
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#C02E98
secondary
#7ECC93
accent
#E46F43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02E98

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

Preview Lab → · Contrast checker → · Palette generator →

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