#C02E4F#C02E4F

#C02E4F is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.9% C 0.182 H 13.2°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#C02E4F
RGBrgb(192, 46, 79)
HSLhsl(346, 61%, 47%)
HSVhsv(346, 76%, 75%)
CMYKcmyk(0%, 76%, 58.9%, 24.7%)
CIE-LABlab(43.84, 58.66, 16.79)
CIE-LCHlch(43.84, 61.01, 15.97°)
OKLaboklab(53.89% 0.1767 0.0415)
OKLCHoklch(53.89% 0.182 13.2)
XYZxyz(24.1289, 13.7285, 8.7749)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E4F #2EC09F
analogous
#C02E98 #C02E4F #C0562E
triadic
#C02E4F #4FC02E #2E4FC0
tetradic
#C02E4F #98C02E #2EC09F #562EC0
square
#C02E4F #98C02E #2EC09F #562EC0
split-complementary
#C02E4F #2EC056 #2E98C0
monochromatic
#5D1626 #8F223B #C02E4F #D65572 #E2869B

Accessibility & contrast

On white

5.61
#C02E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C02E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E4F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E4F#FFFFFF#000000##FFFFFF
##C02E4F1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#7B724B
Tritanopia (blue-blind)
#D2003C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02e4f;
/* rgb */ color: rgb(192, 46, 79);
/* oklch */ color: oklch(53.9% 0.182 13.2);
Tailwind
colors: {
  custom: {
    50: '#da7480',
    500: '#c02e4f',
    950: '#000000',
  },
}
SCSS
$custom: #c02e4f;
$custom-light: #da7480;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e4f",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 346.438,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.18155,
    "h": 13.2
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#C02E4F
secondary
#7ECCBA
accent
#E4C043
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C02E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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