#CA538B#CA538B

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

Color values

HEX#CA538B
RGBrgb(202, 83, 139)
HSLhsl(332, 53%, 56%)
HSVhsv(332, 59%, 79%)
CMYKcmyk(0%, 58.9%, 31.2%, 20.8%)
CIE-LABlab(52.52, 52.89, -7.06)
CIE-LCHlch(52.52, 53.36, 352.40°)
OKLaboklab(61.19% 0.1609 -0.018)
OKLCHoklch(61.19% 0.162 353.6)
XYZxyz(32.1121, 20.6104, 26.7081)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA538B #53CA92
analogous
#CA53C6 #CA538B #CA5653
triadic
#CA538B #8BCA53 #538BCA
tetradic
#CA538B #C6CA53 #53CA92 #5653CA
square
#CA538B #C6CA53 #53CA92 #5653CA
split-complementary
#CA538B #53CA56 #53C6CA
monochromatic
#7C264F #AB356C #CA538B #D882AB #E7B1CA

Accessibility & contrast

On white

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

On black

5.12
#CA538B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA538B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA538B#FFFFFF#000000##000000
##CA538B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca538b;
/* rgb */ color: rgb(202, 83, 139);
/* oklch */ color: oklch(61.2% 0.162 353.6);
Tailwind
colors: {
  custom: {
    50: '#de89ac',
    500: '#ca538b',
    950: '#000000',
  },
}
SCSS
$custom: #ca538b;
$custom-light: #de89ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca538b",
  "rgb": {
    "r": 202,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 331.765,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.16188,
    "h": 353.6
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#CA538B
secondary
#A4D5BE
accent
#DC984C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA538B

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

Preview Lab → · Contrast checker → · Palette generator →

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