#CA254C#CA254C

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

Color values

HEX#CA254C
RGBrgb(202, 37, 76)
HSLhsl(346, 69%, 47%)
HSVhsv(346, 82%, 79%)
CMYKcmyk(0%, 81.7%, 62.4%, 20.8%)
CIE-LABlab(44.81, 63.82, 20.28)
CIE-LCHlch(44.81, 66.96, 17.63°)
OKLaboklab(54.93% 0.1915 0.0493)
OKLCHoklch(54.93% 0.198 14.4)
XYZxyz(26.3260, 14.4055, 8.2304)
Luminance0.1440 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254C #25CAA3
analogous
#CA259F #CA254C #CA5025
triadic
#CA254C #4CCA25 #254CCA
tetradic
#CA254C #9FCA25 #25CAA3 #5025CA
square
#CA254C #9FCA25 #25CAA3 #5025CA
split-complementary
#CA254C #25CA50 #259FCA
monochromatic
#631225 #961C39 #CA254C #DF4E70 #E8819A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA254C#FFFFFF#000000##FFFFFF
##CA254C1.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)
#57544C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#DE0037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca254c;
/* rgb */ color: rgb(202, 37, 76);
/* oklch */ color: oklch(54.9% 0.198 14.4);
Tailwind
colors: {
  custom: {
    50: '#e2727d',
    500: '#ca254c',
    950: '#000000',
  },
}
SCSS
$custom: #ca254c;
$custom-light: #e2727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254c",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 345.818,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.19776,
    "h": 14.4
  },
  "luminance": 0.14401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA254C

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

Preview Lab → · Contrast checker → · Palette generator →

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