#C02A5E#C02A5E

#C02A5E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.187 H 5.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C02A5E
RGBrgb(192, 42, 94)
HSLhsl(339, 64%, 46%)
HSVhsv(339, 78%, 75%)
CMYKcmyk(0%, 78.1%, 51%, 24.7%)
CIE-LABlab(43.76, 61.00, 7.33)
CIE-LCHlch(43.76, 61.44, 6.85°)
OKLaboklab(53.95% 0.1864 0.0191)
OKLCHoklch(53.95% 0.187 5.9)
XYZxyz(24.5888, 13.6740, 11.9321)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A5E #2AC08C
analogous
#C02AA9 #C02A5E #C0412A
triadic
#C02A5E #5EC02A #2A5EC0
tetradic
#C02A5E #A9C02A #2AC08C #412AC0
square
#C02A5E #A9C02A #2AC08C #412AC0
split-complementary
#C02A5E #2AC041 #2AA9C0
monochromatic
#5C142D #8E1F45 #C02A5E #D84F7E #E381A3

Accessibility & contrast

On white

5.62
#C02A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C02A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A5E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A5E#FFFFFF#000000##FFFFFF
##C02A5E1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#D10041
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c02a5e;
/* rgb */ color: rgb(192, 42, 94);
/* oklch */ color: oklch(53.9% 0.187 5.9);
Tailwind
colors: {
  custom: {
    50: '#d9738b',
    500: '#c02a5e',
    950: '#000000',
  },
}
SCSS
$custom: #c02a5e;
$custom-light: #d9738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a5e",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 339.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.18737,
    "h": 5.9
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#C02A5E
secondary
#7ACCB0
accent
#E7AD41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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