#CA397B#CA397B

#CA397B is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.8% C 0.189 H 357.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CA397B
RGBrgb(202, 57, 123)
HSLhsl(333, 58%, 51%)
HSVhsv(333, 72%, 79%)
CMYKcmyk(0%, 71.8%, 39.1%, 20.8%)
CIE-LABlab(48.15, 61.61, -3.93)
CIE-LCHlch(48.15, 61.73, 356.35°)
OKLaboklab(57.79% 0.189 -0.0095)
OKLCHoklch(57.79% 0.189 357.1)
XYZxyz(29.3974, 16.9165, 20.4522)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA397B #39CA88
analogous
#CA39C3 #CA397B #CA3F39
triadic
#CA397B #7BCA39 #397BCA
tetradic
#CA397B #C3CA39 #39CA88 #3F39CA
square
#CA397B #C3CA39 #39CA88 #3F39CA
split-complementary
#CA397B #39CA3F #39C3CA
monochromatic
#6C1D41 #9C2A5E #CA397B #D7699B #E49ABB

Accessibility & contrast

On white

4.79
#CA397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#CA397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA397B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA397B#FFFFFF#000000##FFFFFF
##CA397B1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617D
Deuteranopia (green-blind)
#7E7C78
Tritanopia (blue-blind)
#DA2855
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ca397b;
/* rgb */ color: rgb(202, 57, 123);
/* oklch */ color: oklch(57.8% 0.189 357.1);
Tailwind
colors: {
  custom: {
    50: '#df7ba1',
    500: '#ca397b',
    950: '#000000',
  },
}
SCSS
$custom: #ca397b;
$custom-light: #df7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca397b",
  "rgb": {
    "r": 202,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 332.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.18925,
    "h": 357.1
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#CA397B
secondary
#8FD0B2
accent
#E19B47
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CA397B

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

Preview Lab → · Contrast checker → · Palette generator →

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