#C42F64#C42F64

#C42F64 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.188 H 4.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C42F64
RGBrgb(196, 47, 100)
HSLhsl(339, 61%, 48%)
HSVhsv(339, 76%, 77%)
CMYKcmyk(0%, 76%, 49%, 23.1%)
CIE-LABlab(45.21, 61.09, 5.77)
CIE-LCHlch(45.21, 61.36, 5.39°)
OKLaboklab(55.2% 0.1869 0.0153)
OKLCHoklch(55.2% 0.188 4.7)
XYZxyz(26.0840, 14.6925, 13.5165)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F64 #2FC48F
analogous
#C42FAE #C42F64 #C4452F
triadic
#C42F64 #64C42F #2F64C4
tetradic
#C42F64 #AEC42F #2FC48F #452FC4
square
#C42F64 #AEC42F #2FC48F #452FC4
split-complementary
#C42F64 #2FC445 #2FAEC4
monochromatic
#611732 #93234B #C42F64 #D75986 #E38AAA

Accessibility & contrast

On white

5.33
#C42F64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C42F64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F64
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F64#FFFFFF#000000##FFFFFF
##C42F641.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545865
Deuteranopia (green-blind)
#7B7660
Tritanopia (blue-blind)
#D50746
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42f64;
/* rgb */ color: rgb(196, 47, 100);
/* oklch */ color: oklch(55.2% 0.188 4.7);
Tailwind
colors: {
  custom: {
    50: '#dc758f',
    500: '#c42f64',
    950: '#000000',
  },
}
SCSS
$custom: #c42f64;
$custom-light: #dc758f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f64",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 338.658,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.18751,
    "h": 4.7
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#C42F64
secondary
#82CDB2
accent
#E4AB43
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C42F64

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

Preview Lab → · Contrast checker → · Palette generator →

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