#CA2254#CA2254

#CA2254 is a mid, highly saturated pink. Relative luminance 0.143; OKLCH L 54.9% C 0.201 H 10.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CA2254
RGBrgb(202, 34, 84)
HSLhsl(342, 71%, 46%)
HSVhsv(342, 83%, 79%)
CMYKcmyk(0%, 83.2%, 58.4%, 20.8%)
CIE-LABlab(44.72, 65.04, 15.20)
CIE-LCHlch(44.72, 66.79, 13.15°)
OKLaboklab(54.92% 0.1969 0.0378)
OKLCHoklch(54.92% 0.201 10.9)
XYZxyz(26.5321, 14.3447, 9.7575)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2254 #22CA98
analogous
#CA22A8 #CA2254 #CA4422
triadic
#CA2254 #54CA22 #2254CA
tetradic
#CA2254 #A8CA22 #22CA98 #4422CA
square
#CA2254 #A8CA22 #22CA98 #4422CA
split-complementary
#CA2254 #22CA44 #22A8CA
monochromatic
#611028 #96193E #CA2254 #E04976 #E97D9D

Accessibility & contrast

On white

5.43
#CA2254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#CA2254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2254
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2254#FFFFFF#000000##FFFFFF
##CA22541.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545455
Deuteranopia (green-blind)
#7F7650
Tritanopia (blue-blind)
#DD0039
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ca2254;
/* rgb */ color: rgb(202, 34, 84);
/* oklch */ color: oklch(54.9% 0.201 10.9);
Tailwind
colors: {
  custom: {
    50: '#e27183',
    500: '#ca2254',
    950: '#000000',
  },
}
SCSS
$custom: #ca2254;
$custom-light: #e27183;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2254",
  "rgb": {
    "r": 202,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 342.143,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.20053,
    "h": 10.9
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#CA2254
secondary
#77D1B6
accent
#EEB83A
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#17090A
muted
#857B7C

Preview Lab

Preview with #CA2254

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

Preview Lab → · Contrast checker → · Palette generator →

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