#CA427C#CA427C

#CA427C is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.179 H 358.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CA427C
RGBrgb(202, 66, 124)
HSLhsl(334, 56%, 53%)
HSVhsv(334, 67%, 79%)
CMYKcmyk(0%, 67.3%, 38.6%, 20.8%)
CIE-LABlab(49.39, 58.38, -2.71)
CIE-LCHlch(49.39, 58.44, 357.34°)
OKLaboklab(58.71% 0.1788 -0.0064)
OKLCHoklch(58.71% 0.179 358)
XYZxyz(29.9454, 17.9118, 20.9452)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA427C #42CA90
analogous
#CA42C0 #CA427C #CA4C42
triadic
#CA427C #7CCA42 #427CCA
tetradic
#CA427C #C0CA42 #42CA90 #4C42CA
square
#CA427C #C0CA42 #42CA90 #4C42CA
split-complementary
#CA427C #42CA4C #42C0CA
monochromatic
#722043 #A22D5F #CA427C #D7729D #E5A2BE

Accessibility & contrast

On white

4.58
#CA427C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CA427C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA427C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA427C#FFFFFF#000000##000000
##CA427C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C657E
Deuteranopia (green-blind)
#817F79
Tritanopia (blue-blind)
#DA345A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca427c;
/* rgb */ color: rgb(202, 66, 124);
/* oklch */ color: oklch(58.7% 0.179 358.0);
Tailwind
colors: {
  custom: {
    50: '#df7fa1',
    500: '#ca427c',
    950: '#000000',
  },
}
SCSS
$custom: #ca427c;
$custom-light: #df7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca427c",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 334.412,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.17886,
    "h": 358
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#CA427C
secondary
#96D1B8
accent
#DF9F48
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CA427C

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

Preview Lab → · Contrast checker → · Palette generator →

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