#CA254D#CA254D

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

Color values

HEX#CA254D
RGBrgb(202, 37, 77)
HSLhsl(345, 69%, 47%)
HSVhsv(345, 82%, 79%)
CMYKcmyk(0%, 81.7%, 61.9%, 20.8%)
CIE-LABlab(44.83, 63.88, 19.69)
CIE-LCHlch(44.83, 66.84, 17.13°)
OKLaboklab(54.95% 0.1919 0.048)
OKLCHoklch(54.95% 0.198 14)
XYZxyz(26.3611, 14.4195, 8.4150)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254D #25CAA2
analogous
#CA259F #CA254D #CA5025
triadic
#CA254D #4DCA25 #254DCA
tetradic
#CA254D #9FCA25 #25CAA2 #5025CA
square
#CA254D #9FCA25 #25CAA2 #5025CA
split-complementary
#CA254D #25CA50 #259FCA
monochromatic
#631226 #961C39 #CA254D #DF4E71 #E8819A

Accessibility & contrast

On white

5.41
#CA254D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#CA254D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA254D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA254D#FFFFFF#000000##FFFFFF
##CA254D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544D
Deuteranopia (green-blind)
#807649
Tritanopia (blue-blind)
#DE0037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca254d;
/* rgb */ color: rgb(202, 37, 77);
/* oklch */ color: oklch(55.0% 0.198 14.0);
Tailwind
colors: {
  custom: {
    50: '#e2727e',
    500: '#ca254d',
    950: '#000000',
  },
}
SCSS
$custom: #ca254d;
$custom-light: #e2727e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254d",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 345.455,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.19782,
    "h": 14
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#CA254D
secondary
#7AD1BC
accent
#ECC13C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#170909
muted
#857B7B

Preview Lab

Preview with #CA254D

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

Preview Lab → · Contrast checker → · Palette generator →

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