#C42F4E#C42F4E

#C42F4E is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.7% C 0.184 H 14.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C42F4E
RGBrgb(196, 47, 78)
HSLhsl(348, 61%, 48%)
HSVhsv(348, 76%, 77%)
CMYKcmyk(0%, 76%, 60.2%, 23.1%)
CIE-LABlab(44.69, 59.43, 18.68)
CIE-LCHlch(44.69, 62.30, 17.45°)
OKLaboklab(54.65% 0.1786 0.0458)
OKLCHoklch(54.65% 0.184 14.4)
XYZxyz(25.1592, 14.3225, 8.6460)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F4E #2FC4A5
analogous
#C42F98 #C42F4E #C45B2F
triadic
#C42F4E #4EC42F #2F4EC4
tetradic
#C42F4E #98C42F #2FC4A5 #5B2FC4
square
#C42F4E #98C42F #2FC4A5 #5B2FC4
split-complementary
#C42F4E #2FC45B #2F98C4
monochromatic
#611727 #93233A #C42F4E #D75973 #E38A9D

Accessibility & contrast

On white

5.44
#C42F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C42F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F4E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F4E#FFFFFF#000000##FFFFFF
##C42F4E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58564E
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#D7003C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42f4e;
/* rgb */ color: rgb(196, 47, 78);
/* oklch */ color: oklch(54.7% 0.184 14.4);
Tailwind
colors: {
  custom: {
    50: '#dd757f',
    500: '#c42f4e',
    950: '#000000',
  },
}
SCSS
$custom: #c42f4e;
$custom-light: #dd757f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f4e",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 347.517,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54653,
    "c": 0.18434,
    "h": 14.4
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#C42F4E
secondary
#82CDBD
accent
#E4C343
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C42F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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