#CA405F#CA405F

#CA405F is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.7% C 0.174 H 11.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CA405F
RGBrgb(202, 64, 95)
HSLhsl(347, 57%, 52%)
HSVhsv(347, 68%, 79%)
CMYKcmyk(0%, 68.3%, 53%, 20.8%)
CIE-LABlab(48.33, 56.44, 13.38)
CIE-LCHlch(48.33, 58.00, 13.33°)
OKLaboklab(57.67% 0.1709 0.0339)
OKLCHoklch(57.67% 0.174 11.2)
XYZxyz(28.2586, 17.0533, 12.6278)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA405F #40CAAB
analogous
#CA40A4 #CA405F #CA6640
triadic
#CA405F #5FCA40 #405FCA
tetradic
#CA405F #A4CA40 #40CAAB #6640CA
square
#CA405F #A4CA40 #40CAAB #6640CA
split-complementary
#CA405F #40CA66 #40A4CA
monochromatic
#701F31 #A02C47 #CA405F #D77087 #E5A0AF

Accessibility & contrast

On white

4.76
#CA405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#CA405F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA405F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA405F#FFFFFF#000000##FFFFFF
##CA405F1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61615F
Deuteranopia (green-blind)
#857D5C
Tritanopia (blue-blind)
#DC254C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca405f;
/* rgb */ color: rgb(202, 64, 95);
/* oklch */ color: oklch(57.7% 0.174 11.2);
Tailwind
colors: {
  custom: {
    50: '#e07e8c',
    500: '#ca405f',
    950: '#000000',
  },
}
SCSS
$custom: #ca405f;
$custom-light: #e07e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca405f",
  "rgb": {
    "r": 202,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 346.522,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5767,
    "c": 0.17422,
    "h": 11.2
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#CA405F
secondary
#95D1C3
accent
#E0BE48
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #CA405F

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

Preview Lab → · Contrast checker → · Palette generator →

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