#CA38A9#CA38A9

#CA38A9 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.215 H 338.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CA38A9
RGBrgb(202, 56, 169)
HSLhsl(314, 58%, 51%)
HSVhsv(314, 72%, 79%)
CMYKcmyk(0%, 72.3%, 16.3%, 20.8%)
CIE-LABlab(49.80, 67.56, -28.97)
CIE-LCHlch(49.80, 73.51, 336.79°)
OKLaboklab(59.57% 0.2003 -0.0785)
OKLCHoklch(59.57% 0.215 338.6)
XYZxyz(32.9335, 18.2526, 39.3171)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38A9 #38CA59
analogous
#A238CA #CA38A9 #CA3860
triadic
#CA38A9 #A9CA38 #38A9CA
tetradic
#CA38A9 #CAA238 #38CA59 #3860CA
square
#CA38A9 #CAA238 #38CA59 #3860CA
split-complementary
#CA38A9 #60CA38 #38CAA2
monochromatic
#6B1D59 #9B2982 #CA38A9 #D768BE #E499D3

Accessibility & contrast

On white

4.52
#CA38A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CA38A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38A9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38A9#FFFFFF#000000##000000
##CA38A91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AC
Deuteranopia (green-blind)
#707FA6
Tritanopia (blue-blind)
#D53F6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca38a9;
/* rgb */ color: rgb(202, 56, 169);
/* oklch */ color: oklch(59.6% 0.215 338.6);
Tailwind
colors: {
  custom: {
    50: '#de7cc3',
    500: '#ca38a9',
    950: '#000000',
  },
}
SCSS
$custom: #ca38a9;
$custom-light: #de7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38a9",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 313.562,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.21512,
    "h": 338.6
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#CA38A9
secondary
#8ECF9D
accent
#E16A47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA38A9

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

Preview Lab → · Contrast checker → · Palette generator →

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