#CA254F#CA254F

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

Color values

HEX#CA254F
RGBrgb(202, 37, 79)
HSLhsl(345, 69%, 47%)
HSVhsv(345, 82%, 79%)
CMYKcmyk(0%, 81.7%, 60.9%, 20.8%)
CIE-LABlab(44.87, 64.00, 18.50)
CIE-LCHlch(44.87, 66.62, 16.12°)
OKLaboklab(55% 0.1927 0.0453)
OKLCHoklch(55% 0.198 13.2)
XYZxyz(26.4328, 14.4482, 8.7926)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA254F #25CAA0
analogous
#CA25A2 #CA254F #CA4D25
triadic
#CA254F #4FCA25 #254FCA
tetradic
#CA254F #A2CA25 #25CAA0 #4D25CA
square
#CA254F #A2CA25 #25CAA0 #4D25CA
split-complementary
#CA254F #25CA4D #25A2CA
monochromatic
#631227 #961C3B #CA254F #DF4E73 #E8819C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA254F#FFFFFF#000000##FFFFFF
##CA254F1.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)
#56554F
Deuteranopia (green-blind)
#80764B
Tritanopia (blue-blind)
#DD0038
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca254f;
/* rgb */ color: rgb(202, 37, 79);
/* oklch */ color: oklch(55.0% 0.198 13.2);
Tailwind
colors: {
  custom: {
    50: '#e27280',
    500: '#ca254f',
    950: '#000000',
  },
}
SCSS
$custom: #ca254f;
$custom-light: #e27280;
$custom-dark: #000000;
JSON
{
  "hex": "#ca254f",
  "rgb": {
    "r": 202,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 344.727,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.19795,
    "h": 13.2
  },
  "luminance": 0.14444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA254F

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

Preview Lab → · Contrast checker → · Palette generator →

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