#C42E4F#C42E4F

#C42E4F is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.6% C 0.185 H 13.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C42E4F
RGBrgb(196, 46, 79)
HSLhsl(347, 62%, 47%)
HSVhsv(347, 77%, 77%)
CMYKcmyk(0%, 76.5%, 59.7%, 23.1%)
CIE-LABlab(44.60, 59.81, 17.94)
CIE-LCHlch(44.60, 62.45, 16.69°)
OKLaboklab(54.59% 0.18 0.0441)
OKLCHoklch(54.59% 0.185 13.8)
XYZxyz(25.1558, 14.2580, 8.8231)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E4F #2EC4A3
analogous
#C42E9A #C42E4F #C4582E
triadic
#C42E4F #4FC42E #2E4FC4
tetradic
#C42E4F #9AC42E #2EC4A3 #582EC4
square
#C42E4F #9AC42E #2EC4A3 #582EC4
split-complementary
#C42E4F #2EC458 #2E9AC4
monochromatic
#611727 #92223B #C42E4F #D85874 #E3899D

Accessibility & contrast

On white

5.45
#C42E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C42E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42E4F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E4F#FFFFFF#000000##FFFFFF
##C42E4F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58564F
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#D7003C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c42e4f;
/* rgb */ color: rgb(196, 46, 79);
/* oklch */ color: oklch(54.6% 0.185 13.8);
Tailwind
colors: {
  custom: {
    50: '#dd7480',
    500: '#c42e4f',
    950: '#000000',
  },
}
SCSS
$custom: #c42e4f;
$custom-light: #dd7480;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e4f",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 346.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.18529,
    "h": 13.8
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#C42E4F
secondary
#81CDBC
accent
#E5C143
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C42E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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