#CA405C#CA405C

#CA405C is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.6% C 0.174 H 12.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA405C
RGBrgb(202, 64, 92)
HSLhsl(348, 57%, 52%)
HSVhsv(348, 68%, 79%)
CMYKcmyk(0%, 68.3%, 54.5%, 20.8%)
CIE-LABlab(48.26, 56.20, 15.11)
CIE-LCHlch(48.26, 58.20, 15.05°)
OKLaboklab(57.6% 0.1697 0.038)
OKLCHoklch(57.6% 0.174 12.6)
XYZxyz(28.1248, 16.9998, 11.9234)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA405C #40CAAE
analogous
#CA40A1 #CA405C #CA6940
triadic
#CA405C #5CCA40 #405CCA
tetradic
#CA405C #A1CA40 #40CAAE #6940CA
square
#CA405C #A1CA40 #40CAAE #6940CA
split-complementary
#CA405C #40CA69 #40A1CA
monochromatic
#701F30 #A02C44 #CA405C #D77085 #E5A0AE

Accessibility & contrast

On white

4.77
#CA405C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA405C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA405C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA405C#FFFFFF#000000##FFFFFF
##CA405C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62615C
Deuteranopia (green-blind)
#867D59
Tritanopia (blue-blind)
#DC234B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca405c;
/* rgb */ color: rgb(202, 64, 92);
/* oklch */ color: oklch(57.6% 0.174 12.6);
Tailwind
colors: {
  custom: {
    50: '#e07e89',
    500: '#ca405c',
    950: '#000000',
  },
}
SCSS
$custom: #ca405c;
$custom-light: #e07e89;
$custom-dark: #000000;
JSON
{
  "hex": "#ca405c",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 347.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.17393,
    "h": 12.6
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#CA405C
secondary
#95D1C5
accent
#E0C148
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160A0B
muted
#847C7C

Preview Lab

Preview with #CA405C

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

Preview Lab → · Contrast checker → · Palette generator →

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