#CA38AA#CA38AA

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

Color values

HEX#CA38AA
RGBrgb(202, 56, 170)
HSLhsl(313, 58%, 51%)
HSVhsv(313, 72%, 79%)
CMYKcmyk(0%, 72.3%, 15.8%, 20.8%)
CIE-LABlab(49.85, 67.70, -29.49)
CIE-LCHlch(49.85, 73.84, 336.46°)
OKLaboklab(59.62% 0.2004 -0.08)
OKLCHoklch(59.62% 0.216 338.2)
XYZxyz(33.0277, 18.2903, 39.8134)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38AA #38CA58
analogous
#A138CA #CA38AA #CA3861
triadic
#CA38AA #AACA38 #38AACA
tetradic
#CA38AA #CAA138 #38CA58 #3861CA
square
#CA38AA #CAA138 #38CA58 #3861CA
split-complementary
#CA38AA #61CA38 #38CAA1
monochromatic
#6B1D5A #9B2982 #CA38AA #D768BF #E499D3

Accessibility & contrast

On white

4.51
#CA38AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CA38AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38AA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38AA#FFFFFF#000000##000000
##CA38AA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#D53F6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38aa;
/* rgb */ color: rgb(202, 56, 170);
/* oklch */ color: oklch(59.6% 0.216 338.2);
Tailwind
colors: {
  custom: {
    50: '#de7cc3',
    500: '#ca38aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca38aa;
$custom-light: #de7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38aa",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 313.151,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.21577,
    "h": 338.2
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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