#CA1940#CA1940

#CA1940 is a mid, highly saturated red. Relative luminance 0.136; OKLCH L 54.0% C 0.205 H 17.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CA1940
RGBrgb(202, 25, 64)
HSLhsl(347, 78%, 45%)
HSVhsv(347, 88%, 79%)
CMYKcmyk(0%, 87.6%, 68.3%, 20.8%)
CIE-LABlab(43.69, 65.75, 26.26)
CIE-LCHlch(43.69, 70.80, 21.77°)
OKLaboklab(54.04% 0.1952 0.0616)
OKLCHoklch(54.04% 0.205 17.5)
XYZxyz(25.6332, 13.6261, 6.1299)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA1940 #19CAA3
analogous
#CA1998 #CA1940 #CA4B19
triadic
#CA1940 #40CA19 #1940CA
tetradic
#CA1940 #98CA19 #19CAA3 #4B19CA
square
#CA1940 #98CA19 #19CAA3 #4B19CA
split-complementary
#CA1940 #19CA4B #1998CA
monochromatic
#5D0C1D #94122F #CA1940 #E73A60 #ED708C

Accessibility & contrast

On white

5.64
#CA1940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#CA1940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA1940
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA1940#FFFFFF#000000##FFFFFF
##CA19401.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545040
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#DE002C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ca1940;
/* rgb */ color: rgb(202, 25, 64);
/* oklch */ color: oklch(54.0% 0.205 17.5);
Tailwind
colors: {
  custom: {
    50: '#e36e74',
    500: '#ca1940',
    950: '#000000',
  },
}
SCSS
$custom: #ca1940;
$custom-light: #e36e74;
$custom-dark: #000000;
JSON
{
  "hex": "#ca1940",
  "rgb": {
    "r": 202,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 346.78,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.20471,
    "h": 17.5
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#CA1940
secondary
#6BD4BD
accent
#F4CA33
background
#FFF7F7
surface
#FEEDED
border
#D6C8C8
text
#170808
muted
#857B7B

Preview Lab

Preview with #CA1940

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

Preview Lab → · Contrast checker → · Palette generator →

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