#C42875#C42875

#C42875 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.199 H 356.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C42875
RGBrgb(196, 40, 117)
HSLhsl(330, 66%, 46%)
HSVhsv(330, 80%, 77%)
CMYKcmyk(0%, 79.6%, 40.3%, 23.1%)
CIE-LABlab(45.00, 64.68, -5.05)
CIE-LCHlch(45.00, 64.88, 355.54°)
OKLaboklab(55.22% 0.199 -0.0125)
OKLCHoklch(55.22% 0.199 356.4)
XYZxyz(26.7366, 14.5412, 18.2250)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42875 #28C477
analogous
#C428C3 #C42875 #C42928
triadic
#C42875 #75C428 #2875C4
tetradic
#C42875 #C3C428 #28C477 #2928C4
square
#C42875 #C3C428 #28C477 #2928C4
split-complementary
#C42875 #28C429 #28C3C4
monochromatic
#5E1338 #911E57 #C42875 #DB4E94 #E581B3

Accessibility & contrast

On white

5.37
#C42875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C42875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42875
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42875#FFFFFF#000000##FFFFFF
##C428751.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5877
Deuteranopia (green-blind)
#767572
Tritanopia (blue-blind)
#D4094C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42875;
/* rgb */ color: rgb(196, 40, 117);
/* oklch */ color: oklch(55.2% 0.199 356.4);
Tailwind
colors: {
  custom: {
    50: '#db739c',
    500: '#c42875',
    950: '#000000',
  },
}
SCSS
$custom: #c42875;
$custom-light: #db739c;
$custom-dark: #000000;
JSON
{
  "hex": "#c42875",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 330.385,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55216,
    "c": 0.19941,
    "h": 356.4
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#C42875
secondary
#7ACEA4
accent
#E9953F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42875

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

Preview Lab → · Contrast checker → · Palette generator →

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