#CA38AF#CA38AF

#CA38AF is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.219 H 336.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA38AF
RGBrgb(202, 56, 175)
HSLhsl(311, 58%, 51%)
HSVhsv(311, 72%, 79%)
CMYKcmyk(0%, 72.3%, 13.4%, 20.8%)
CIE-LABlab(50.08, 68.41, -32.07)
CIE-LCHlch(50.08, 75.55, 334.88°)
OKLaboklab(59.86% 0.201 -0.0873)
OKLCHoklch(59.86% 0.219 336.5)
XYZxyz(33.5097, 18.4831, 42.3519)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38AF #38CA53
analogous
#9C38CA #CA38AF #CA3866
triadic
#CA38AF #AFCA38 #38AFCA
tetradic
#CA38AF #CA9C38 #38CA53 #3866CA
square
#CA38AF #CA9C38 #38CA53 #3866CA
split-complementary
#CA38AF #66CA38 #38CA9C
monochromatic
#6B1D5D #9B2986 #CA38AF #D768C2 #E499D6

Accessibility & contrast

On white

4.47
#CA38AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CA38AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA38AF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA38AF#FFFFFF#000000##000000
##CA38AF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#D4426F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38af;
/* rgb */ color: rgb(202, 56, 175);
/* oklch */ color: oklch(59.9% 0.219 336.5);
Tailwind
colors: {
  custom: {
    50: '#de7cc7',
    500: '#ca38af',
    950: '#000000',
  },
}
SCSS
$custom: #ca38af;
$custom-light: #de7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38af",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 311.096,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5986,
    "c": 0.21913,
    "h": 336.5
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#CA38AF
secondary
#8ECF9A
accent
#E16347
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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