#C42F63#C42F63

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

Color values

HEX#C42F63
RGBrgb(196, 47, 99)
HSLhsl(339, 61%, 48%)
HSVhsv(339, 76%, 77%)
CMYKcmyk(0%, 76%, 49.5%, 23.1%)
CIE-LABlab(45.18, 61.00, 6.35)
CIE-LCHlch(45.18, 61.33, 5.94°)
OKLaboklab(55.18% 0.1865 0.0168)
OKLCHoklch(55.18% 0.187 5.1)
XYZxyz(26.0359, 14.6732, 13.2632)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F63 #2FC490
analogous
#C42FAE #C42F63 #C4452F
triadic
#C42F63 #63C42F #2F63C4
tetradic
#C42F63 #AEC42F #2FC490 #452FC4
square
#C42F63 #AEC42F #2FC490 #452FC4
split-complementary
#C42F63 #2FC445 #2FAEC4
monochromatic
#611731 #93234A #C42F63 #D75985 #E38AA9

Accessibility & contrast

On white

5.34
#C42F63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C42F63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F63
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F63#FFFFFF#000000##FFFFFF
##C42F631.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545864
Deuteranopia (green-blind)
#7B765F
Tritanopia (blue-blind)
#D50545
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42f63;
/* rgb */ color: rgb(196, 47, 99);
/* oklch */ color: oklch(55.2% 0.187 5.1);
Tailwind
colors: {
  custom: {
    50: '#dc758f',
    500: '#c42f63',
    950: '#000000',
  },
}
SCSS
$custom: #c42f63;
$custom-light: #dc758f;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f63",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 339.06,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.18727,
    "h": 5.1
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#C42F63
secondary
#82CDB3
accent
#E4AC43
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C42F63

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

Preview Lab → · Contrast checker → · Palette generator →

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