#C42540#C42540

#C42540 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.6% C 0.192 H 18.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C42540
RGBrgb(196, 37, 64)
HSLhsl(350, 68%, 46%)
HSVhsv(350, 81%, 77%)
CMYKcmyk(0%, 81.1%, 67.3%, 23.1%)
CIE-LABlab(43.41, 61.51, 25.65)
CIE-LCHlch(43.41, 66.64, 22.64°)
OKLaboklab(53.62% 0.1824 0.0604)
OKLCHoklch(53.62% 0.192 18.3)
XYZxyz(24.3547, 13.4329, 6.1599)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42540 #25C4A9
analogous
#C4258F #C42540 #C45925
triadic
#C42540 #40C425 #2540C4
tetradic
#C42540 #8FC425 #25C4A9 #5925C4
square
#C42540 #8FC425 #25C4A9 #5925C4
split-complementary
#C42540 #25C459 #258FC4
monochromatic
#5D121E #911B2F #C42540 #DD4962 #E67D8F

Accessibility & contrast

On white

5.70
#C42540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#C42540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42540
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42540#FFFFFF#000000##FFFFFF
##C425401.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565140
Deuteranopia (green-blind)
#7E723B
Tritanopia (blue-blind)
#D70031
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c42540;
/* rgb */ color: rgb(196, 37, 64);
/* oklch */ color: oklch(53.6% 0.192 18.3);
Tailwind
colors: {
  custom: {
    50: '#de7174',
    500: '#c42540',
    950: '#000000',
  },
}
SCSS
$custom: #c42540;
$custom-light: #de7174;
$custom-dark: #000000;
JSON
{
  "hex": "#c42540",
  "rgb": {
    "r": 196,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 349.811,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5362,
    "c": 0.19217,
    "h": 18.3
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#C42540
secondary
#76CFC0
accent
#EBCD3D
background
#FEF7F7
surface
#FDEDED
border
#D5C8C8
text
#170908
muted
#857B7B

Preview Lab

Preview with #C42540

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

Preview Lab → · Contrast checker → · Palette generator →

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