#C02A6D#C02A6D

#C02A6D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.192 H 359.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C02A6D
RGBrgb(192, 42, 109)
HSLhsl(333, 64%, 46%)
HSVhsv(333, 78%, 75%)
CMYKcmyk(0%, 78.1%, 43.2%, 24.7%)
CIE-LABlab(44.19, 62.32, -1.38)
CIE-LCHlch(44.19, 62.33, 358.73°)
OKLaboklab(54.4% 0.1916 -0.0029)
OKLCHoklch(54.4% 0.192 359.1)
XYZxyz(25.3285, 13.9699, 15.8277)
Luminance0.1397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A6D #2AC07D
analogous
#C02AB8 #C02A6D #C0322A
triadic
#C02A6D #6DC02A #2A6DC0
tetradic
#C02A6D #B8C02A #2AC07D #322AC0
square
#C02A6D #B8C02A #2AC07D #322AC0
split-complementary
#C02A6D #2AC032 #2AB8C0
monochromatic
#5C1434 #8E1F50 #C02A6D #D84F8C #E381AD

Accessibility & contrast

On white

5.54
#C02A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#C02A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A6D
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A6D#FFFFFF#000000##FFFFFF
##C02A6D1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566F
Deuteranopia (green-blind)
#75736A
Tritanopia (blue-blind)
#D00948
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02a6d;
/* rgb */ color: rgb(192, 42, 109);
/* oklch */ color: oklch(54.4% 0.192 359.1);
Tailwind
colors: {
  custom: {
    50: '#d97396',
    500: '#c02a6d',
    950: '#000000',
  },
}
SCSS
$custom: #c02a6d;
$custom-light: #d97396;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a6d",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 333.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.19159,
    "h": 359.1
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#C02A6D
secondary
#7ACCA7
accent
#E79D41
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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