#CA38AE#CA38AE

#CA38AE is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.8% C 0.218 H 336.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CA38AE
RGBrgb(202, 56, 174)
HSLhsl(312, 58%, 51%)
HSVhsv(312, 72%, 79%)
CMYKcmyk(0%, 72.3%, 13.9%, 20.8%)
CIE-LABlab(50.03, 68.26, -31.55)
CIE-LCHlch(50.03, 75.20, 335.19°)
OKLaboklab(59.81% 0.2009 -0.0858)
OKLCHoklch(59.81% 0.218 336.9)
XYZxyz(33.4119, 18.4440, 41.8366)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38AE #38CA54
analogous
#9D38CA #CA38AE #CA3865
triadic
#CA38AE #AECA38 #38AECA
tetradic
#CA38AE #CA9D38 #38CA54 #3865CA
square
#CA38AE #CA9D38 #38CA54 #3865CA
split-complementary
#CA38AE #65CA38 #38CA9D
monochromatic
#6B1D5C #9B2986 #CA38AE #D768C2 #E499D5

Accessibility & contrast

On white

4.48
#CA38AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CA38AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38AE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38AE#FFFFFF#000000##000000
##CA38AE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B1
Deuteranopia (green-blind)
#6E7FAB
Tritanopia (blue-blind)
#D5416F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38ae;
/* rgb */ color: rgb(202, 56, 174);
/* oklch */ color: oklch(59.8% 0.218 336.9);
Tailwind
colors: {
  custom: {
    50: '#de7cc6',
    500: '#ca38ae',
    950: '#000000',
  },
}
SCSS
$custom: #ca38ae;
$custom-light: #de7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38ae",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 311.507,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59811,
    "c": 0.21846,
    "h": 336.9
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#CA38AE
secondary
#8ECF9B
accent
#E16447
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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