#CA38A8#CA38A8

#CA38A8 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.214 H 339.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CA38A8
RGBrgb(202, 56, 168)
HSLhsl(314, 58%, 51%)
HSVhsv(314, 72%, 79%)
CMYKcmyk(0%, 72.3%, 16.8%, 20.8%)
CIE-LABlab(49.76, 67.42, -28.45)
CIE-LCHlch(49.76, 73.18, 337.12°)
OKLaboklab(59.52% 0.2002 -0.077)
OKLCHoklch(59.52% 0.214 339)
XYZxyz(32.8400, 18.2152, 38.8245)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38A8 #38CA5A
analogous
#A338CA #CA38A8 #CA385F
triadic
#CA38A8 #A8CA38 #38A8CA
tetradic
#CA38A8 #CAA338 #38CA5A #385FCA
square
#CA38A8 #CAA338 #38CA5A #385FCA
split-complementary
#CA38A8 #5FCA38 #38CAA3
monochromatic
#6B1D59 #9B2981 #CA38A8 #D768BD #E499D2

Accessibility & contrast

On white

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

On black

4.64
#CA38A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38A8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38A8#FFFFFF#000000##000000
##CA38A81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4068AB
Deuteranopia (green-blind)
#707FA5
Tritanopia (blue-blind)
#D53E6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca38a8;
/* rgb */ color: rgb(202, 56, 168);
/* oklch */ color: oklch(59.5% 0.214 339.0);
Tailwind
colors: {
  custom: {
    50: '#de7cc2',
    500: '#ca38a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca38a8;
$custom-light: #de7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38a8",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 313.973,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.21446,
    "h": 339
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#CA38A8
secondary
#8ECF9E
accent
#E16B47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA38A8

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

Preview Lab → · Contrast checker → · Palette generator →

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