#CA398C#CA398C

#CA398C is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.197 H 349.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CA398C
RGBrgb(202, 57, 140)
HSLhsl(326, 58%, 51%)
HSVhsv(326, 72%, 79%)
CMYKcmyk(0%, 71.8%, 30.7%, 20.8%)
CIE-LABlab(48.73, 63.49, -13.34)
CIE-LCHlch(48.73, 64.88, 348.14°)
OKLaboklab(58.41% 0.1938 -0.0348)
OKLCHoklch(58.41% 0.197 349.8)
XYZxyz(30.5555, 17.3797, 26.5514)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA398C #39CA77
analogous
#BF39CA #CA398C #CA3943
triadic
#CA398C #8CCA39 #398CCA
tetradic
#CA398C #CABF39 #39CA77 #3943CA
square
#CA398C #CABF39 #39CA77 #3943CA
split-complementary
#CA398C #43CA39 #39CABF
monochromatic
#6C1D4A #9C2A6B #CA398C #D769A8 #E49AC4

Accessibility & contrast

On white

4.69
#CA398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CA398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA398C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA398C#FFFFFF#000000##FFFFFF
##CA398C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638E
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#D9315E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca398c;
/* rgb */ color: rgb(202, 57, 140);
/* oklch */ color: oklch(58.4% 0.197 349.8);
Tailwind
colors: {
  custom: {
    50: '#df7bad',
    500: '#ca398c',
    950: '#000000',
  },
}
SCSS
$custom: #ca398c;
$custom-light: #df7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#ca398c",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 325.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58407,
    "c": 0.19687,
    "h": 349.8
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA398C

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

Preview Lab → · Contrast checker → · Palette generator →

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