#C42B6B#C42B6B

#C42B6B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.193 H 1.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C42B6B
RGBrgb(196, 43, 107)
HSLhsl(335, 64%, 47%)
HSVhsv(335, 78%, 77%)
CMYKcmyk(0%, 78.1%, 45.4%, 23.1%)
CIE-LABlab(44.98, 62.90, 1.10)
CIE-LCHlch(44.98, 62.91, 1.00°)
OKLaboklab(55.1% 0.1932 0.0035)
OKLCHoklch(55.1% 0.193 1)
XYZxyz(26.2848, 14.5286, 15.3273)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B6B #2BC484
analogous
#C42BB8 #C42B6B #C4382B
triadic
#C42B6B #6BC42B #2B6BC4
tetradic
#C42B6B #B8C42B #2BC484 #382BC4
square
#C42B6B #B8C42B #2BC484 #382BC4
split-complementary
#C42B6B #2BC438 #2BB8C4
monochromatic
#601534 #922050 #C42B6B #D9538B #E485AD

Accessibility & contrast

On white

5.38
#C42B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C42B6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B6B
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B6B#FFFFFF#000000##FFFFFF
##C42B6B1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D50348
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42b6b;
/* rgb */ color: rgb(196, 43, 107);
/* oklch */ color: oklch(55.1% 0.193 1.0);
Tailwind
colors: {
  custom: {
    50: '#dc7495',
    500: '#c42b6b',
    950: '#000000',
  },
}
SCSS
$custom: #c42b6b;
$custom-light: #dc7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b6b",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 334.902,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.19321,
    "h": 1
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#C42B6B
secondary
#7DCEAC
accent
#E7A141
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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