#CA427E#CA427E

#CA427E is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.180 H 357.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CA427E
RGBrgb(202, 66, 126)
HSLhsl(334, 56%, 53%)
HSVhsv(334, 67%, 79%)
CMYKcmyk(0%, 67.3%, 37.6%, 20.8%)
CIE-LABlab(49.45, 58.59, -3.83)
CIE-LCHlch(49.45, 58.72, 356.26°)
OKLaboklab(58.78% 0.1794 -0.0093)
OKLCHoklch(58.78% 0.18 357)
XYZxyz(30.0731, 17.9629, 21.6181)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA427E #42CA8E
analogous
#CA42C2 #CA427E #CA4A42
triadic
#CA427E #7ECA42 #427ECA
tetradic
#CA427E #C2CA42 #42CA8E #4A42CA
square
#CA427E #C2CA42 #42CA8E #4A42CA
split-complementary
#CA427E #42CA4A #42C2CA
monochromatic
#722044 #A22D61 #CA427E #D7729F #E5A2BF

Accessibility & contrast

On white

4.57
#CA427E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CA427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA427E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA427E#FFFFFF#000000##000000
##CA427E1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6580
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#DA355B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca427e;
/* rgb */ color: rgb(202, 66, 126);
/* oklch */ color: oklch(58.8% 0.180 357.0);
Tailwind
colors: {
  custom: {
    50: '#df7fa3',
    500: '#ca427e',
    950: '#000000',
  },
}
SCSS
$custom: #ca427e;
$custom-light: #df7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca427e",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 333.529,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.17963,
    "h": 357
  },
  "luminance": 0.17959
}

Semantic roles & 50–950 ramp

primary
#CA427E
secondary
#96D1B7
accent
#DF9D48
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA427E

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

Preview Lab → · Contrast checker → · Palette generator →

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