#CA388E#CA388E

#CA388E is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.4% C 0.199 H 348.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CA388E
RGBrgb(202, 56, 142)
HSLhsl(325, 58%, 51%)
HSVhsv(325, 72%, 79%)
CMYKcmyk(0%, 72.3%, 29.7%, 20.8%)
CIE-LABlab(48.69, 64.07, -14.61)
CIE-LCHlch(48.69, 65.71, 347.15°)
OKLaboklab(58.4% 0.1953 -0.0383)
OKLCHoklch(58.4% 0.199 348.9)
XYZxyz(30.6553, 17.3413, 27.3188)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA388E #38CA74
analogous
#BD38CA #CA388E #CA3845
triadic
#CA388E #8ECA38 #388ECA
tetradic
#CA388E #CABD38 #38CA74 #3845CA
square
#CA388E #CABD38 #38CA74 #3845CA
split-complementary
#CA388E #45CA38 #38CABD
monochromatic
#6B1D4B #9B296D #CA388E #D768A9 #E499C5

Accessibility & contrast

On white

4.70
#CA388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CA388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA388E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA388E#FFFFFF#000000##FFFFFF
##CA388E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#787D8B
Tritanopia (blue-blind)
#D8315E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca388e;
/* rgb */ color: rgb(202, 56, 142);
/* oklch */ color: oklch(58.4% 0.199 348.9);
Tailwind
colors: {
  custom: {
    50: '#df7baf',
    500: '#ca388e',
    950: '#000000',
  },
}
SCSS
$custom: #ca388e;
$custom-light: #df7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca388e",
  "rgb": {
    "r": 202,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 324.658,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.19904,
    "h": 348.9
  },
  "luminance": 0.17338
}

Semantic roles & 50–950 ramp

primary
#CA388E
secondary
#8ECFA9
accent
#E18647
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA388E

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

Preview Lab → · Contrast checker → · Palette generator →

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