#CA38A2#CA38A2

#CA38A2 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.2% C 0.211 H 341.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA38A2
RGBrgb(202, 56, 162)
HSLhsl(316, 58%, 51%)
HSVhsv(316, 72%, 79%)
CMYKcmyk(0%, 72.3%, 19.8%, 20.8%)
CIE-LABlab(49.49, 66.60, -25.31)
CIE-LCHlch(49.49, 71.25, 339.19°)
OKLaboklab(59.25% 0.1993 -0.0681)
OKLCHoklch(59.25% 0.211 341.1)
XYZxyz(32.2939, 17.9968, 35.9484)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38A2 #38CA60
analogous
#A938CA #CA38A2 #CA3859
triadic
#CA38A2 #A2CA38 #38A2CA
tetradic
#CA38A2 #CAA938 #38CA60 #3859CA
square
#CA38A2 #CAA938 #38CA60 #3859CA
split-complementary
#CA38A2 #59CA38 #38CAA9
monochromatic
#6B1D56 #9B297C #CA38A2 #D768B9 #E499CF

Accessibility & contrast

On white

4.57
#CA38A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CA38A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38A2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38A2#FFFFFF#000000##000000
##CA38A21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#727E9F
Tritanopia (blue-blind)
#D63B69
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca38a2;
/* rgb */ color: rgb(202, 56, 162);
/* oklch */ color: oklch(59.2% 0.211 341.1);
Tailwind
colors: {
  custom: {
    50: '#de7cbd',
    500: '#ca38a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca38a2;
$custom-light: #de7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38a2",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 316.438,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.21061,
    "h": 341.1
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#CA38A2
secondary
#8ECFA0
accent
#E17147
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA38A2

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

Preview Lab → · Contrast checker → · Palette generator →

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