#CA538C#CA538C

#CA538C is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.162 H 353.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CA538C
RGBrgb(202, 83, 140)
HSLhsl(331, 53%, 56%)
HSVhsv(331, 59%, 79%)
CMYKcmyk(0%, 58.9%, 30.7%, 20.8%)
CIE-LABlab(52.55, 53.02, -7.60)
CIE-LCHlch(52.55, 53.56, 351.84°)
OKLaboklab(61.22% 0.1612 -0.0195)
OKLCHoklch(61.22% 0.162 353.1)
XYZxyz(32.1855, 20.6398, 27.0947)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA538C #53CA91
analogous
#CA53C7 #CA538C #CA5553
triadic
#CA538C #8CCA53 #538CCA
tetradic
#CA538C #C7CA53 #53CA91 #5553CA
square
#CA538C #C7CA53 #53CA91 #5553CA
split-complementary
#CA538C #53CA55 #53C7CA
monochromatic
#7C264F #AB356D #CA538C #D882AB #E7B1CB

Accessibility & contrast

On white

4.10
#CA538C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CA538C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA538C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA538C#FFFFFF#000000##000000
##CA538C1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#64708E
Deuteranopia (green-blind)
#848589
Tritanopia (blue-blind)
#D84C69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca538c;
/* rgb */ color: rgb(202, 83, 140);
/* oklch */ color: oklch(61.2% 0.162 353.1);
Tailwind
colors: {
  custom: {
    50: '#de89ad',
    500: '#ca538c',
    950: '#000000',
  },
}
SCSS
$custom: #ca538c;
$custom-light: #de89ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca538c",
  "rgb": {
    "r": 202,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 331.261,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.16235,
    "h": 353.1
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#CA538C
secondary
#A4D5BD
accent
#DC974C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA538C

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

Preview Lab → · Contrast checker → · Palette generator →

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