#C02A6C#C02A6C

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

Color values

HEX#C02A6C
RGBrgb(192, 42, 108)
HSLhsl(334, 64%, 46%)
HSVhsv(334, 78%, 75%)
CMYKcmyk(0%, 78.1%, 43.7%, 24.7%)
CIE-LABlab(44.16, 62.22, -0.81)
CIE-LCHlch(44.16, 62.23, 359.25°)
OKLaboklab(54.37% 0.1912 -0.0014)
OKLCHoklch(54.37% 0.191 359.6)
XYZxyz(25.2749, 13.9485, 15.5458)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A6C #2AC07E
analogous
#C02AB7 #C02A6C #C0332A
triadic
#C02A6C #6CC02A #2A6CC0
tetradic
#C02A6C #B7C02A #2AC07E #332AC0
square
#C02A6C #B7C02A #2AC07E #332AC0
split-complementary
#C02A6C #2AC033 #2AB7C0
monochromatic
#5C1434 #8E1F50 #C02A6C #D84F8B #E381AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02A6C#FFFFFF#000000##FFFFFF
##C02A6C1.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)
#4D566E
Deuteranopia (green-blind)
#757369
Tritanopia (blue-blind)
#D00848
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02a6c;
/* rgb */ color: rgb(192, 42, 108);
/* oklch */ color: oklch(54.4% 0.191 359.6);
Tailwind
colors: {
  custom: {
    50: '#d97395',
    500: '#c02a6c',
    950: '#000000',
  },
}
SCSS
$custom: #c02a6c;
$custom-light: #d97395;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a6c",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 333.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54372,
    "c": 0.19125,
    "h": 359.6
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#C02A6C
secondary
#7ACCA8
accent
#E79E41
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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