#CA38A5#CA38A5

#CA38A5 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.4% C 0.213 H 340.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CA38A5
RGBrgb(202, 56, 165)
HSLhsl(315, 58%, 51%)
HSVhsv(315, 72%, 79%)
CMYKcmyk(0%, 72.3%, 18.3%, 20.8%)
CIE-LABlab(49.62, 67.01, -26.89)
CIE-LCHlch(49.62, 72.20, 338.14°)
OKLaboklab(59.38% 0.1997 -0.0726)
OKLCHoklch(59.38% 0.213 340)
XYZxyz(32.5637, 18.1047, 37.3696)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38A5 #38CA5D
analogous
#A638CA #CA38A5 #CA385C
triadic
#CA38A5 #A5CA38 #38A5CA
tetradic
#CA38A5 #CAA638 #38CA5D #385CCA
square
#CA38A5 #CAA638 #38CA5D #385CCA
split-complementary
#CA38A5 #5CCA38 #38CAA6
monochromatic
#6B1D57 #9B297F #CA38A5 #D768BB #E499D1

Accessibility & contrast

On white

4.55
#CA38A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CA38A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38A5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38A5#FFFFFF#000000##000000
##CA38A51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#717EA2
Tritanopia (blue-blind)
#D63D6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca38a5;
/* rgb */ color: rgb(202, 56, 165);
/* oklch */ color: oklch(59.4% 0.213 340.0);
Tailwind
colors: {
  custom: {
    50: '#de7cc0',
    500: '#ca38a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca38a5;
$custom-light: #de7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38a5",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 315.205,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.21251,
    "h": 340
  },
  "luminance": 0.18102
}

Semantic roles & 50–950 ramp

primary
#CA38A5
secondary
#8ECF9F
accent
#E16E47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA38A5

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

Preview Lab → · Contrast checker → · Palette generator →

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