#C02A4D#C02A4D

#C02A4D is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.185 H 13.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C02A4D
RGBrgb(192, 42, 77)
HSLhsl(346, 64%, 46%)
HSVhsv(346, 78%, 75%)
CMYKcmyk(0%, 78.1%, 59.9%, 24.7%)
CIE-LABlab(43.36, 59.75, 17.39)
CIE-LCHlch(43.36, 62.23, 16.22°)
OKLaboklab(53.53% 0.1799 0.0428)
OKLCHoklch(53.53% 0.185 13.4)
XYZxyz(23.9082, 13.4018, 8.3476)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02A4D #2AC09D
analogous
#C02A98 #C02A4D #C0522A
triadic
#C02A4D #4DC02A #2A4DC0
tetradic
#C02A4D #98C02A #2AC09D #522AC0
square
#C02A4D #98C02A #2AC09D #522AC0
split-complementary
#C02A4D #2AC052 #2A98C0
monochromatic
#5C1425 #8E1F39 #C02A4D #D84F6F #E38198

Accessibility & contrast

On white

5.71
#C02A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C02A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02A4D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02A4D#FFFFFF#000000##FFFFFF
##C02A4D1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534D
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#D20039
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02a4d;
/* rgb */ color: rgb(192, 42, 77);
/* oklch */ color: oklch(53.5% 0.185 13.4);
Tailwind
colors: {
  custom: {
    50: '#da727e',
    500: '#c02a4d',
    950: '#000000',
  },
}
SCSS
$custom: #c02a4d;
$custom-light: #da727e;
$custom-dark: #000000;
JSON
{
  "hex": "#c02a4d",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 346,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.18494,
    "h": 13.4
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#C02A4D
secondary
#7ACCB9
accent
#E7C041
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160909
muted
#847B7B

Preview Lab

Preview with #C02A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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