#CA427A#CA427A

#CA427A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.178 H 358.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CA427A
RGBrgb(202, 66, 122)
HSLhsl(335, 56%, 53%)
HSVhsv(335, 67%, 79%)
CMYKcmyk(0%, 67.3%, 39.6%, 20.8%)
CIE-LABlab(49.33, 58.17, -1.59)
CIE-LCHlch(49.33, 58.19, 358.43°)
OKLaboklab(58.65% 0.1781 -0.0035)
OKLCHoklch(58.65% 0.178 358.9)
XYZxyz(29.8202, 17.8617, 20.2859)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA427A #42CA92
analogous
#CA42BE #CA427A #CA4E42
triadic
#CA427A #7ACA42 #427ACA
tetradic
#CA427A #BECA42 #42CA92 #4E42CA
square
#CA427A #BECA42 #42CA92 #4E42CA
split-complementary
#CA427A #42CA4E #42BECA
monochromatic
#722042 #A22D5D #CA427A #D7729C #E5A2BD

Accessibility & contrast

On white

4.59
#CA427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CA427A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA427A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA427A#FFFFFF#000000##FFFFFF
##CA427A1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C657C
Deuteranopia (green-blind)
#817F77
Tritanopia (blue-blind)
#DA3359
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca427a;
/* rgb */ color: rgb(202, 66, 122);
/* oklch */ color: oklch(58.6% 0.178 358.9);
Tailwind
colors: {
  custom: {
    50: '#df7fa0',
    500: '#ca427a',
    950: '#000000',
  },
}
SCSS
$custom: #ca427a;
$custom-light: #df7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca427a",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 335.294,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.17813,
    "h": 358.9
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#CA427A
secondary
#96D1B9
accent
#DFA148
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CA427A

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

Preview Lab → · Contrast checker → · Palette generator →

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