#CA254A#CA254A

#CA254A is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.9% C 0.198 H 15.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CA254A
RGBrgb(202, 37, 74)
HSLhsl(347, 69%, 47%)
HSVhsv(347, 82%, 79%)
CMYKcmyk(0%, 81.7%, 63.4%, 20.8%)
CIE-LABlab(44.77, 63.70, 21.47)
CIE-LCHlch(44.77, 67.22, 18.62°)
OKLaboklab(54.89% 0.1908 0.0518)
OKLCHoklch(54.89% 0.198 15.2)
XYZxyz(26.2576, 14.3782, 7.8699)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254A #25CAA5
analogous
#CA259D #CA254A #CA5225
triadic
#CA254A #4ACA25 #254ACA
tetradic
#CA254A #9DCA25 #25CAA5 #5225CA
square
#CA254A #9DCA25 #25CAA5 #5225CA
split-complementary
#CA254A #25CA52 #259DCA
monochromatic
#631224 #961C37 #CA254A #DF4E6E #E88198

Accessibility & contrast

On white

5.42
#CA254A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#CA254A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA254A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA254A#FFFFFF#000000##FFFFFF
##CA254A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544A
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#DE0036
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca254a;
/* rgb */ color: rgb(202, 37, 74);
/* oklch */ color: oklch(54.9% 0.198 15.2);
Tailwind
colors: {
  custom: {
    50: '#e2727c',
    500: '#ca254a',
    950: '#000000',
  },
}
SCSS
$custom: #ca254a;
$custom-light: #e2727c;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254a",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 346.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.19767,
    "h": 15.2
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#CA254A
secondary
#7AD1BD
accent
#ECC43C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#170909
muted
#857B7B

Preview Lab

Preview with #CA254A

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

Preview Lab → · Contrast checker → · Palette generator →

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