#C42F6D#C42F6D

#C42F6D is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.190 H 0.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C42F6D
RGBrgb(196, 47, 109)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 76%, 44.4%, 23.1%)
CIE-LABlab(45.46, 61.89, 0.57)
CIE-LCHlch(45.46, 61.89, 0.53°)
OKLaboklab(55.47% 0.19 0.0022)
OKLCHoklch(55.47% 0.19 0.7)
XYZxyz(26.5439, 14.8764, 15.9387)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F6D #2FC486
analogous
#C42FB7 #C42F6D #C43C2F
triadic
#C42F6D #6DC42F #2F6DC4
tetradic
#C42F6D #B7C42F #2FC486 #3C2FC4
square
#C42F6D #B7C42F #2FC486 #3C2FC4
split-complementary
#C42F6D #2FC43C #2FB7C4
monochromatic
#611736 #932352 #C42F6D #D7598E #E38AAF

Accessibility & contrast

On white

5.28
#C42F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C42F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F6D
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F6D#FFFFFF#000000##FFFFFF
##C42F6D1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596E
Deuteranopia (green-blind)
#79766A
Tritanopia (blue-blind)
#D5114A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42f6d;
/* rgb */ color: rgb(196, 47, 109);
/* oklch */ color: oklch(55.5% 0.190 0.7);
Tailwind
colors: {
  custom: {
    50: '#dc7696',
    500: '#c42f6d',
    950: '#000000',
  },
}
SCSS
$custom: #c42f6d;
$custom-light: #dc7696;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f6d",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 335.034,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55475,
    "c": 0.19001,
    "h": 0.7
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#C42F6D
secondary
#82CDAE
accent
#E4A143
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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