#CA254B#CA254B

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

Color values

HEX#CA254B
RGBrgb(202, 37, 75)
HSLhsl(346, 69%, 47%)
HSVhsv(346, 82%, 79%)
CMYKcmyk(0%, 81.7%, 62.9%, 20.8%)
CIE-LABlab(44.79, 63.76, 20.87)
CIE-LCHlch(44.79, 67.09, 18.13°)
OKLaboklab(54.91% 0.1911 0.0505)
OKLCHoklch(54.91% 0.198 14.8)
XYZxyz(26.2915, 14.3917, 8.0488)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254B #25CAA4
analogous
#CA259E #CA254B #CA5225
triadic
#CA254B #4BCA25 #254BCA
tetradic
#CA254B #9ECA25 #25CAA4 #5225CA
square
#CA254B #9ECA25 #25CAA4 #5225CA
split-complementary
#CA254B #25CA52 #259ECA
monochromatic
#631225 #961C38 #CA254B #DF4E6F #E88199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA254B#FFFFFF#000000##FFFFFF
##CA254B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca254b;
/* rgb */ color: rgb(202, 37, 75);
/* oklch */ color: oklch(54.9% 0.198 14.8);
Tailwind
colors: {
  custom: {
    50: '#e2727d',
    500: '#ca254b',
    950: '#000000',
  },
}
SCSS
$custom: #ca254b;
$custom-light: #e2727d;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254b",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 346.182,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54913,
    "c": 0.19771,
    "h": 14.8
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA254B

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

Preview Lab → · Contrast checker → · Palette generator →

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