#CA398F#CA398F

#CA398F is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.198 H 348.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CA398F
RGBrgb(202, 57, 143)
HSLhsl(324, 58%, 51%)
HSVhsv(324, 72%, 79%)
CMYKcmyk(0%, 71.8%, 29.2%, 20.8%)
CIE-LABlab(48.85, 63.85, -14.97)
CIE-LCHlch(48.85, 65.58, 346.80°)
OKLaboklab(58.53% 0.1945 -0.0393)
OKLCHoklch(58.53% 0.198 348.6)
XYZxyz(30.7797, 17.4694, 27.7323)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA398F #39CA74
analogous
#BD39CA #CA398F #CA3946
triadic
#CA398F #8FCA39 #398FCA
tetradic
#CA398F #CABD39 #39CA74 #3946CA
square
#CA398F #CABD39 #39CA74 #3946CA
split-complementary
#CA398F #46CA39 #39CABD
monochromatic
#6C1D4C #9C2A6E #CA398F #D769AA #E49AC6

Accessibility & contrast

On white

4.67
#CA398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CA398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA398F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA398F#FFFFFF#000000##FFFFFF
##CA398F1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6491
Deuteranopia (green-blind)
#797D8C
Tritanopia (blue-blind)
#D8325F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca398f;
/* rgb */ color: rgb(202, 57, 143);
/* oklch */ color: oklch(58.5% 0.198 348.6);
Tailwind
colors: {
  custom: {
    50: '#df7caf',
    500: '#ca398f',
    950: '#000000',
  },
}
SCSS
$custom: #ca398f;
$custom-light: #df7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca398f",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 324.414,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.19843,
    "h": 348.6
  },
  "luminance": 0.17466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA398F

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

Preview Lab → · Contrast checker → · Palette generator →

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