#CA38AC#CA38AC

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

Color values

HEX#CA38AC
RGBrgb(202, 56, 172)
HSLhsl(312, 58%, 51%)
HSVhsv(312, 72%, 79%)
CMYKcmyk(0%, 72.3%, 14.9%, 20.8%)
CIE-LABlab(49.94, 67.98, -30.52)
CIE-LCHlch(49.94, 74.52, 335.82°)
OKLaboklab(59.71% 0.2007 -0.0829)
OKLCHoklch(59.71% 0.217 337.6)
XYZxyz(33.2183, 18.3665, 40.8173)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38AC #38CA56
analogous
#9F38CA #CA38AC #CA3863
triadic
#CA38AC #ACCA38 #38ACCA
tetradic
#CA38AC #CA9F38 #38CA56 #3863CA
square
#CA38AC #CA9F38 #38CA56 #3863CA
split-complementary
#CA38AC #63CA38 #38CA9F
monochromatic
#6B1D5B #9B2984 #CA38AC #D768C0 #E499D4

Accessibility & contrast

On white

4.49
#CA38AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA38AC#FFFFFF#000000##000000
##CA38AC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#6E7FA9
Tritanopia (blue-blind)
#D5406E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38ac;
/* rgb */ color: rgb(202, 56, 172);
/* oklch */ color: oklch(59.7% 0.217 337.6);
Tailwind
colors: {
  custom: {
    50: '#de7cc5',
    500: '#ca38ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca38ac;
$custom-light: #de7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38ac",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 312.329,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59714,
    "c": 0.2171,
    "h": 337.6
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#CA38AC
secondary
#8ECF9C
accent
#E16647
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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