#CA4FAB#CA4FAB

#CA4FAB is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.187 H 338.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA4FAB
RGBrgb(202, 79, 171)
HSLhsl(315, 54%, 55%)
HSVhsv(315, 61%, 79%)
CMYKcmyk(0%, 60.9%, 15.3%, 20.8%)
CIE-LABlab(53.05, 59.05, -25.11)
CIE-LCHlch(53.05, 64.17, 336.97°)
OKLaboklab(61.97% 0.1742 -0.0677)
OKLCHoklch(61.97% 0.187 338.8)
XYZxyz(34.5044, 21.0917, 40.7740)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FAB #4FCA6E
analogous
#AC4FCA #CA4FAB #CA4F6D
triadic
#CA4FAB #ABCA4F #4FABCA
tetradic
#CA4FAB #CAAC4F #4FCA6E #4F6DCA
square
#CA4FAB #CAAC4F #4FCA6E #4F6DCA
split-complementary
#CA4FAB #6DCA4F #4FCAAC
monochromatic
#7A2564 #A9338B #CA4FAB #D87EC1 #E6ADD8

Accessibility & contrast

On white

4.02
#CA4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CA4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FAB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FAB#FFFFFF#000000##000000
##CA4FAB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#D55376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca4fab;
/* rgb */ color: rgb(202, 79, 171);
/* oklch */ color: oklch(62.0% 0.187 338.8);
Tailwind
colors: {
  custom: {
    50: '#dd87c4',
    500: '#ca4fab',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fab;
$custom-light: #dd87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fab",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 315.122,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.18695,
    "h": 338.8
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#CA4FAB
secondary
#A1D4AE
accent
#DD704B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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