#C42F6F#C42F6F

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

Color values

HEX#C42F6F
RGBrgb(196, 47, 111)
HSLhsl(334, 61%, 48%)
HSVhsv(334, 76%, 77%)
CMYKcmyk(0%, 76%, 43.4%, 23.1%)
CIE-LABlab(45.52, 62.08, -0.58)
CIE-LCHlch(45.52, 62.08, 359.47°)
OKLaboklab(55.54% 0.1907 -0.0008)
OKLCHoklch(55.54% 0.191 359.8)
XYZxyz(26.6528, 14.9200, 16.5122)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F6F #2FC484
analogous
#C42FBA #C42F6F #C4392F
triadic
#C42F6F #6FC42F #2F6FC4
tetradic
#C42F6F #BAC42F #2FC484 #392FC4
square
#C42F6F #BAC42F #2FC484 #392FC4
split-complementary
#C42F6F #2FC439 #2FBAC4
monochromatic
#611737 #932353 #C42F6F #D7598F #E38AB0

Accessibility & contrast

On white

5.27
#C42F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#C42F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F6F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F6F#FFFFFF#000000##FFFFFF
##C42F6F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#D5134B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42f6f;
/* rgb */ color: rgb(196, 47, 111);
/* oklch */ color: oklch(55.5% 0.191 359.8);
Tailwind
colors: {
  custom: {
    50: '#db7698',
    500: '#c42f6f',
    950: '#000000',
  },
}
SCSS
$custom: #c42f6f;
$custom-light: #db7698;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f6f",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 334.228,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55538,
    "c": 0.19066,
    "h": 359.8
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#C42F6F
secondary
#82CDAD
accent
#E49F43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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