#C42F58#C42F58

#C42F58 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.185 H 10.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C42F58
RGBrgb(196, 47, 88)
HSLhsl(343, 61%, 48%)
HSVhsv(343, 76%, 77%)
CMYKcmyk(0%, 76%, 55.1%, 23.1%)
CIE-LABlab(44.91, 60.13, 12.78)
CIE-LCHlch(44.91, 61.48, 12.00°)
OKLaboklab(54.89% 0.1824 0.0323)
OKLCHoklch(54.89% 0.185 10)
XYZxyz(25.5454, 14.4770, 10.6798)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F58 #2FC49B
analogous
#C42FA2 #C42F58 #C4502F
triadic
#C42F58 #58C42F #2F58C4
tetradic
#C42F58 #A2C42F #2FC49B #502FC4
square
#C42F58 #A2C42F #2FC49B #502FC4
split-complementary
#C42F58 #2FC450 #2FA2C4
monochromatic
#61172C #932342 #C42F58 #D7597C #E38AA3

Accessibility & contrast

On white

5.39
#C42F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C42F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F58
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F58#FFFFFF#000000##FFFFFF
##C42F581.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565759
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#D60040
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42f58;
/* rgb */ color: rgb(196, 47, 88);
/* oklch */ color: oklch(54.9% 0.185 10.0);
Tailwind
colors: {
  custom: {
    50: '#dd7586',
    500: '#c42f58',
    950: '#000000',
  },
}
SCSS
$custom: #c42f58;
$custom-light: #dd7586;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f58",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 343.49,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.18527,
    "h": 10
  },
  "luminance": 0.14473
}

Semantic roles & 50–950 ramp

primary
#C42F58
secondary
#82CDB8
accent
#E4B843
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C42F58

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

Preview Lab → · Contrast checker → · Palette generator →

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