#CA4BA1#CA4BA1

#CA4BA1 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.186 H 342.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CA4BA1
RGBrgb(202, 75, 161)
HSLhsl(319, 55%, 54%)
HSVhsv(319, 63%, 79%)
CMYKcmyk(0%, 62.9%, 20.3%, 20.8%)
CIE-LABlab(52.02, 59.31, -20.82)
CIE-LCHlch(52.02, 62.85, 340.65°)
OKLaboklab(61.08% 0.1774 -0.0557)
OKLCHoklch(61.08% 0.186 342.6)
XYZxyz(33.3072, 20.1650, 35.8494)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BA1 #4BCA74
analogous
#B34BCA #CA4BA1 #CA4B62
triadic
#CA4BA1 #A1CA4B #4BA1CA
tetradic
#CA4BA1 #CAB34B #4BCA74 #4B62CA
square
#CA4BA1 #CAB34B #4BCA74 #4B62CA
split-complementary
#CA4BA1 #62CA4B #4BCAB3
monochromatic
#77235C #A73181 #CA4BA1 #D87ABA #E6AAD2

Accessibility & contrast

On white

4.17
#CA4BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CA4BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BA1
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BA1#FFFFFF#000000##000000
##CA4BA11.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#7A849E
Tritanopia (blue-blind)
#D64C6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4ba1;
/* rgb */ color: rgb(202, 75, 161);
/* oklch */ color: oklch(61.1% 0.186 342.6);
Tailwind
colors: {
  custom: {
    50: '#dd85bd',
    500: '#ca4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ba1;
$custom-light: #dd85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ba1",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 319.37,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.18589,
    "h": 342.6
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#CA4BA1
secondary
#9DD3AF
accent
#DE7A4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CA4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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