#C02A98#C02A98

#C02A98 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.1% C 0.213 H 341.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C02A98
RGBrgb(192, 42, 152)
HSLhsl(316, 64%, 46%)
HSVhsv(316, 78%, 75%)
CMYKcmyk(0%, 78.1%, 20.8%, 24.7%)
CIE-LABlab(45.81, 67.18, -25.18)
CIE-LCHlch(45.81, 71.74, 339.45°)
OKLaboklab(56.12% 0.2017 -0.0678)
OKLCHoklch(56.12% 0.213 341.4)
XYZxyz(28.2346, 15.1323, 31.1336)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A98 #2AC052
analogous
#9D2AC0 #C02A98 #C02A4D
triadic
#C02A98 #98C02A #2A98C0
tetradic
#C02A98 #C09D2A #2AC052 #2A4DC0
square
#C02A98 #C09D2A #2AC052 #2A4DC0
split-complementary
#C02A98 #4DC02A #2AC09D
monochromatic
#5C1448 #8E1F70 #C02A98 #D84FB4 #E381C9

Accessibility & contrast

On white

5.22
#C02A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C02A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A98
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A98#FFFFFF#000000##FFFFFF
##C02A981.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#697595
Tritanopia (blue-blind)
#CC2D5F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02a98;
/* rgb */ color: rgb(192, 42, 152);
/* oklch */ color: oklch(56.1% 0.213 341.4);
Tailwind
colors: {
  custom: {
    50: '#d774b6',
    500: '#c02a98',
    950: '#000000',
  },
}
SCSS
$custom: #c02a98;
$custom-light: #d774b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a98",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 316,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56117,
    "c": 0.21275,
    "h": 341.4
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#C02A98
secondary
#7ACC90
accent
#E76D41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02A98

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

Preview Lab → · Contrast checker → · Palette generator →

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