#CA407F#CA407F

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

Color values

HEX#CA407F
RGBrgb(202, 64, 127)
HSLhsl(333, 57%, 52%)
HSVhsv(333, 68%, 79%)
CMYKcmyk(0%, 68.3%, 37.1%, 20.8%)
CIE-LABlab(49.20, 59.47, -4.80)
CIE-LCHlch(49.20, 59.67, 355.38°)
OKLaboklab(58.61% 0.1821 -0.0119)
OKLCHoklch(58.61% 0.183 356.3)
XYZxyz(30.0232, 17.7592, 21.9214)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA407F #40CA8B
analogous
#CA40C4 #CA407F #CA4640
triadic
#CA407F #7FCA40 #407FCA
tetradic
#CA407F #C4CA40 #40CA8B #4640CA
square
#CA407F #C4CA40 #40CA8B #4640CA
split-complementary
#CA407F #40CA46 #40C4CA
monochromatic
#701F44 #A02C61 #CA407F #D7709F #E5A0BF

Accessibility & contrast

On white

4.61
#CA407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CA407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA407F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA407F#FFFFFF#000000##FFFFFF
##CA407F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596581
Deuteranopia (green-blind)
#7F7E7C
Tritanopia (blue-blind)
#DA335A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca407f;
/* rgb */ color: rgb(202, 64, 127);
/* oklch */ color: oklch(58.6% 0.183 356.3);
Tailwind
colors: {
  custom: {
    50: '#df7ea4',
    500: '#ca407f',
    950: '#000000',
  },
}
SCSS
$custom: #ca407f;
$custom-light: #df7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca407f",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 332.609,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.18253,
    "h": 356.3
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#CA407F
secondary
#95D1B6
accent
#E09B48
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CA407F

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

Preview Lab → · Contrast checker → · Palette generator →

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