#CA397F#CA397F

#CA397F is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.191 H 355.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CA397F
RGBrgb(202, 57, 127)
HSLhsl(331, 58%, 51%)
HSVhsv(331, 72%, 79%)
CMYKcmyk(0%, 71.8%, 37.1%, 20.8%)
CIE-LABlab(48.28, 62.03, -6.17)
CIE-LCHlch(48.28, 62.34, 354.32°)
OKLaboklab(57.93% 0.1902 -0.0155)
OKLCHoklch(57.93% 0.191 355.4)
XYZxyz(29.6529, 17.0187, 21.7979)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397F #39CA84
analogous
#CA39C8 #CA397F #CA3B39
triadic
#CA397F #7FCA39 #397FCA
tetradic
#CA397F #C8CA39 #39CA84 #3B39CA
square
#CA397F #C8CA39 #39CA84 #3B39CA
split-complementary
#CA397F #39CA3B #39C8CA
monochromatic
#6C1D43 #9C2A61 #CA397F #D7699E #E49ABD

Accessibility & contrast

On white

4.77
#CA397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CA397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA397F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA397F#FFFFFF#000000##FFFFFF
##CA397F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546281
Deuteranopia (green-blind)
#7D7C7C
Tritanopia (blue-blind)
#DA2A57
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ca397f;
/* rgb */ color: rgb(202, 57, 127);
/* oklch */ color: oklch(57.9% 0.191 355.4);
Tailwind
colors: {
  custom: {
    50: '#df7ba4',
    500: '#ca397f',
    950: '#000000',
  },
}
SCSS
$custom: #ca397f;
$custom-light: #df7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397f",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 331.034,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57929,
    "c": 0.19085,
    "h": 355.4
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#CA397F
secondary
#8FD0B1
accent
#E19747
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CA397F

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

Preview Lab → · Contrast checker → · Palette generator →

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