#CA4BA6#CA4BA6

#CA4BA6 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.189 H 340.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CA4BA6
RGBrgb(202, 75, 166)
HSLhsl(317, 55%, 54%)
HSVhsv(317, 63%, 79%)
CMYKcmyk(0%, 62.9%, 17.8%, 20.8%)
CIE-LABlab(52.22, 60.02, -23.45)
CIE-LCHlch(52.22, 64.43, 338.66°)
OKLaboklab(61.3% 0.1784 -0.063)
OKLCHoklch(61.3% 0.189 340.5)
XYZxyz(33.7569, 20.3449, 38.2181)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BA6 #4BCA6F
analogous
#AF4BCA #CA4BA6 #CA4B67
triadic
#CA4BA6 #A6CA4B #4BA6CA
tetradic
#CA4BA6 #CAAF4B #4BCA6F #4B67CA
square
#CA4BA6 #CAAF4B #4BCA6F #4B67CA
split-complementary
#CA4BA6 #67CA4B #4BCAAF
monochromatic
#772360 #A73185 #CA4BA6 #D87ABD #E6AAD5

Accessibility & contrast

On white

4.14
#CA4BA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CA4BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BA6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BA6#FFFFFF#000000##000000
##CA4BA61.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5370A9
Deuteranopia (green-blind)
#7984A3
Tritanopia (blue-blind)
#D54E72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4ba6;
/* rgb */ color: rgb(202, 75, 166);
/* oklch */ color: oklch(61.3% 0.189 340.5);
Tailwind
colors: {
  custom: {
    50: '#dd85c0',
    500: '#ca4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ba6;
$custom-light: #dd85c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ba6",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 317.008,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61295,
    "c": 0.18918,
    "h": 340.5
  },
  "luminance": 0.20342
}

Semantic roles & 50–950 ramp

primary
#CA4BA6
secondary
#9DD3AD
accent
#DE744A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CA4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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