#CA38B0#CA38B0

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

Color values

HEX#CA38B0
RGBrgb(202, 56, 176)
HSLhsl(311, 58%, 51%)
HSVhsv(311, 72%, 79%)
CMYKcmyk(0%, 72.3%, 12.9%, 20.8%)
CIE-LABlab(50.12, 68.55, -32.58)
CIE-LCHlch(50.12, 75.90, 334.58°)
OKLaboklab(59.91% 0.2011 -0.0888)
OKLCHoklch(59.91% 0.22 336.2)
XYZxyz(33.6083, 18.5225, 42.8711)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA38B0 #38CA52
analogous
#9B38CA #CA38B0 #CA3867
triadic
#CA38B0 #B0CA38 #38B0CA
tetradic
#CA38B0 #CA9B38 #38CA52 #3867CA
square
#CA38B0 #CA9B38 #38CA52 #3867CA
split-complementary
#CA38B0 #67CA38 #38CA9B
monochromatic
#6B1D5D #9B2987 #CA38B0 #D768C3 #E499D6

Accessibility & contrast

On white

4.46
#CA38B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA38B0#FFFFFF#000000##000000
##CA38B01.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B3
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#D44270
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca38b0;
/* rgb */ color: rgb(202, 56, 176);
/* oklch */ color: oklch(59.9% 0.220 336.2);
Tailwind
colors: {
  custom: {
    50: '#de7cc8',
    500: '#ca38b0',
    950: '#000000',
  },
}
SCSS
$custom: #ca38b0;
$custom-light: #de7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca38b0",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 310.685,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.21981,
    "h": 336.2
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA38B0

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

Preview Lab → · Contrast checker → · Palette generator →

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