#CA4BA7#CA4BA7

#CA4BA7 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.3% C 0.190 H 340.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CA4BA7
RGBrgb(202, 75, 167)
HSLhsl(317, 55%, 54%)
HSVhsv(317, 63%, 79%)
CMYKcmyk(0%, 62.9%, 17.3%, 20.8%)
CIE-LABlab(52.27, 60.16, -23.97)
CIE-LCHlch(52.27, 64.76, 338.27°)
OKLaboklab(61.34% 0.1786 -0.0645)
OKLCHoklch(61.34% 0.19 340.1)
XYZxyz(33.8490, 20.3817, 38.7031)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BA7 #4BCA6E
analogous
#AD4BCA #CA4BA7 #CA4B68
triadic
#CA4BA7 #A7CA4B #4BA7CA
tetradic
#CA4BA7 #CAAD4B #4BCA6E #4B68CA
square
#CA4BA7 #CAAD4B #4BCA6E #4B68CA
split-complementary
#CA4BA7 #68CA4B #4BCAAD
monochromatic
#772360 #A73186 #CA4BA7 #D87ABE #E6AAD5

Accessibility & contrast

On white

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

On black

5.08
#CA4BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BA7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BA7#FFFFFF#000000##000000
##CA4BA71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D54E72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4ba7;
/* rgb */ color: rgb(202, 75, 167);
/* oklch */ color: oklch(61.3% 0.190 340.1);
Tailwind
colors: {
  custom: {
    50: '#dd85c1',
    500: '#ca4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ba7;
$custom-light: #dd85c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ba7",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 316.535,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.18985,
    "h": 340.1
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#CA4BA7
secondary
#9DD3AC
accent
#DE734A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CA4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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