#CA398B#CA398B

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

Color values

HEX#CA398B
RGBrgb(202, 57, 139)
HSLhsl(326, 58%, 51%)
HSVhsv(326, 72%, 79%)
CMYKcmyk(0%, 71.8%, 31.2%, 20.8%)
CIE-LABlab(48.70, 63.37, -12.79)
CIE-LCHlch(48.70, 64.65, 348.59°)
OKLaboklab(58.37% 0.1935 -0.0333)
OKLCHoklch(58.37% 0.196 350.2)
XYZxyz(30.4821, 17.3504, 26.1648)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA398B #39CA78
analogous
#C039CA #CA398B #CA3942
triadic
#CA398B #8BCA39 #398BCA
tetradic
#CA398B #CAC039 #39CA78 #3942CA
square
#CA398B #CAC039 #39CA78 #3942CA
split-complementary
#CA398B #42CA39 #39CAC0
monochromatic
#6C1D49 #9C2A6A #CA398B #D769A7 #E49AC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA398B#FFFFFF#000000##FFFFFF
##CA398B1.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)
#50638D
Deuteranopia (green-blind)
#7A7D88
Tritanopia (blue-blind)
#D9305D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca398b;
/* rgb */ color: rgb(202, 57, 139);
/* oklch */ color: oklch(58.4% 0.196 350.2);
Tailwind
colors: {
  custom: {
    50: '#df7bad',
    500: '#ca398b',
    950: '#000000',
  },
}
SCSS
$custom: #ca398b;
$custom-light: #df7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca398b",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 326.069,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.19637,
    "h": 350.2
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#CA398B
secondary
#8FD0AB
accent
#E18A47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CA398B

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

Preview Lab → · Contrast checker → · Palette generator →

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