#CA334A#CA334A

#CA334A is a mid, vivid red. Relative luminance 0.154; OKLCH L 56.0% C 0.186 H 17.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA334A
RGBrgb(202, 51, 74)
HSLhsl(351, 60%, 50%)
HSVhsv(351, 75%, 79%)
CMYKcmyk(0%, 74.8%, 63.4%, 20.8%)
CIE-LABlab(46.21, 59.65, 23.33)
CIE-LCHlch(46.21, 64.05, 21.36°)
OKLaboklab(55.96% 0.1777 0.0561)
OKLCHoklch(55.96% 0.186 17.5)
XYZxyz(26.7798, 15.4226, 8.0440)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA334A #33CAB3
analogous
#CA3396 #CA334A #CA6833
triadic
#CA334A #4ACA33 #334ACA
tetradic
#CA334A #96CA33 #33CAB3 #6833CA
square
#CA334A #96CA33 #33CAB3 #6833CA
split-complementary
#CA334A #33CA68 #3396CA
monochromatic
#681A26 #992738 #CA334A #D86374 #E494A0

Accessibility & contrast

On white

5.14
#CA334A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#CA334A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA334A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA334A#FFFFFF#000000##FFFFFF
##CA334A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E594A
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#DE003D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca334a;
/* rgb */ color: rgb(202, 51, 74);
/* oklch */ color: oklch(56.0% 0.186 17.5);
Tailwind
colors: {
  custom: {
    50: '#e2777c',
    500: '#ca334a',
    950: '#000000',
  },
}
SCSS
$custom: #ca334a;
$custom-light: #e2777c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca334a",
  "rgb": {
    "r": 202,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 350.861,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.18638,
    "h": 17.5
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#CA334A
secondary
#8ACFC4
accent
#E3CB45
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A09
muted
#857C7B

Preview Lab

Preview with #CA334A

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

Preview Lab → · Contrast checker → · Palette generator →

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