#CA5274#CA5274

#CA5274 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.3% C 0.155 H 5.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA5274
RGBrgb(202, 82, 116)
HSLhsl(343, 53%, 56%)
HSVhsv(343, 59%, 79%)
CMYKcmyk(0%, 59.4%, 42.6%, 20.8%)
CIE-LABlab(51.67, 50.72, 5.42)
CIE-LCHlch(51.67, 51.01, 6.10°)
OKLaboklab(60.34% 0.1545 0.0145)
OKLCHoklch(60.34% 0.155 5.4)
XYZxyz(30.5288, 19.8556, 18.7444)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5274 #52CAA8
analogous
#CA52B0 #CA5274 #CA6C52
triadic
#CA5274 #74CA52 #5274CA
tetradic
#CA5274 #B0CA52 #52CAA8 #6C52CA
square
#CA5274 #B0CA52 #52CAA8 #6C52CA
split-complementary
#CA5274 #52CA6C #52B0CA
monochromatic
#7C263E #AB3456 #CA5274 #D8819A #E7B0BF

Accessibility & contrast

On white

4.23
#CA5274 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CA5274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5274
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5274#FFFFFF#000000##000000
##CA52741.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C75
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#DA445F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5274;
/* rgb */ color: rgb(202, 82, 116);
/* oklch */ color: oklch(60.3% 0.155 5.4);
Tailwind
colors: {
  custom: {
    50: '#de889b',
    500: '#ca5274',
    950: '#000000',
  },
}
SCSS
$custom: #ca5274;
$custom-light: #de889b;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5274",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 116
  },
  "hsl": {
    "h": 343,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.15519,
    "h": 5.4
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#CA5274
secondary
#A3D5C7
accent
#DDB34B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA5274

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

Preview Lab → · Contrast checker → · Palette generator →

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