#CA38AB#CA38AB

#CA38AB is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.216 H 337.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CA38AB
RGBrgb(202, 56, 171)
HSLhsl(313, 58%, 51%)
HSVhsv(313, 72%, 79%)
CMYKcmyk(0%, 72.3%, 15.3%, 20.8%)
CIE-LABlab(49.89, 67.84, -30.01)
CIE-LCHlch(49.89, 74.18, 336.14°)
OKLaboklab(59.67% 0.2005 -0.0814)
OKLCHoklch(59.67% 0.216 337.9)
XYZxyz(33.1227, 18.3283, 40.3135)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38AB #38CA57
analogous
#A038CA #CA38AB #CA3862
triadic
#CA38AB #ABCA38 #38ABCA
tetradic
#CA38AB #CAA038 #38CA57 #3862CA
square
#CA38AB #CAA038 #38CA57 #3862CA
split-complementary
#CA38AB #62CA38 #38CAA0
monochromatic
#6B1D5A #9B2983 #CA38AB #D768BF #E499D4

Accessibility & contrast

On white

4.50
#CA38AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CA38AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38AB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38AB#FFFFFF#000000##000000
##CA38AB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#6F7FA8
Tritanopia (blue-blind)
#D5406D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38ab;
/* rgb */ color: rgb(202, 56, 171);
/* oklch */ color: oklch(59.7% 0.216 337.9);
Tailwind
colors: {
  custom: {
    50: '#de7cc4',
    500: '#ca38ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca38ab;
$custom-light: #de7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38ab",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 312.74,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59666,
    "c": 0.21644,
    "h": 337.9
  },
  "luminance": 0.18325
}

Semantic roles & 50–950 ramp

primary
#CA38AB
secondary
#8ECF9C
accent
#E16747
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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