#CA254E#CA254E

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

Color values

HEX#CA254E
RGBrgb(202, 37, 78)
HSLhsl(345, 69%, 47%)
HSVhsv(345, 82%, 79%)
CMYKcmyk(0%, 81.7%, 61.4%, 20.8%)
CIE-LABlab(44.85, 63.94, 19.09)
CIE-LCHlch(44.85, 66.73, 16.63°)
OKLaboklab(54.98% 0.1923 0.0466)
OKLCHoklch(54.98% 0.198 13.6)
XYZxyz(26.3966, 14.4338, 8.6023)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254E #25CAA1
analogous
#CA25A1 #CA254E #CA4F25
triadic
#CA254E #4ECA25 #254ECA
tetradic
#CA254E #A1CA25 #25CAA1 #4F25CA
square
#CA254E #A1CA25 #25CAA1 #4F25CA
split-complementary
#CA254E #25CA4F #25A1CA
monochromatic
#631226 #961C3A #CA254E #DF4E72 #E8819B

Accessibility & contrast

On white

5.40
#CA254E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#CA254E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA254E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA254E#FFFFFF#000000##FFFFFF
##CA254E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#80764A
Tritanopia (blue-blind)
#DD0037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca254e;
/* rgb */ color: rgb(202, 37, 78);
/* oklch */ color: oklch(55.0% 0.198 13.6);
Tailwind
colors: {
  custom: {
    50: '#e2727f',
    500: '#ca254e',
    950: '#000000',
  },
}
SCSS
$custom: #ca254e;
$custom-light: #e2727f;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254e",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 345.091,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.19788,
    "h": 13.6
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#CA254E
secondary
#7AD1BB
accent
#ECC03C
background
#FFF7F7
surface
#FEEDEE
border
#D6C8C9
text
#17090A
muted
#857B7C

Preview Lab

Preview with #CA254E

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

Preview Lab → · Contrast checker → · Palette generator →

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