#C42F6E#C42F6E

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

Color values

HEX#C42F6E
RGBrgb(196, 47, 110)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 76%, 43.9%, 23.1%)
CIE-LABlab(45.49, 61.98, -0.01)
CIE-LCHlch(45.49, 61.98, 360.00°)
OKLaboklab(55.51% 0.1903 0.0007)
OKLCHoklch(55.51% 0.19 0.2)
XYZxyz(26.5980, 14.8981, 16.2238)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F6E #2FC485
analogous
#C42FB8 #C42F6E #C43B2F
triadic
#C42F6E #6EC42F #2F6EC4
tetradic
#C42F6E #B8C42F #2FC485 #3B2FC4
square
#C42F6E #B8C42F #2FC485 #3B2FC4
split-complementary
#C42F6E #2FC43B #2FB8C4
monochromatic
#611737 #932352 #C42F6E #D7598E #E38AB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42F6E#FFFFFF#000000##FFFFFF
##C42F6E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515970
Deuteranopia (green-blind)
#79766B
Tritanopia (blue-blind)
#D5124B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42f6e;
/* rgb */ color: rgb(196, 47, 110);
/* oklch */ color: oklch(55.5% 0.190 0.2);
Tailwind
colors: {
  custom: {
    50: '#db7697',
    500: '#c42f6e',
    950: '#000000',
  },
}
SCSS
$custom: #c42f6e;
$custom-light: #db7697;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f6e",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 334.631,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55506,
    "c": 0.19033,
    "h": 0.2
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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