#CA5A7F#CA5A7F

#CA5A7F is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.147 H 1.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CA5A7F
RGBrgb(202, 90, 127)
HSLhsl(340, 51%, 57%)
HSVhsv(340, 55%, 79%)
CMYKcmyk(0%, 55.4%, 37.1%, 20.8%)
CIE-LABlab(53.39, 48.18, 1.34)
CIE-LCHlch(53.39, 48.20, 1.60°)
OKLaboklab(61.72% 0.1467 0.0041)
OKLCHoklch(61.72% 0.147 1.6)
XYZxyz(31.8458, 21.4045, 22.5289)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5A7F #5ACAA5
analogous
#CA5AB7 #CA5A7F #CA6D5A
triadic
#CA5A7F #7FCA5A #5A7FCA
tetradic
#CA5A7F #B7CA5A #5ACAA5 #6D5ACA
square
#CA5A7F #B7CA5A #5ACAA5 #6D5ACA
split-complementary
#CA5A7F #5ACA6D #5AB7CA
monochromatic
#802946 #AF385F #CA5A7F #D988A3 #E8B7C7

Accessibility & contrast

On white

3.98
#CA5A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CA5A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5A7F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5A7F#FFFFFF#000000##000000
##CA5A7F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7280
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#D95068
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5a7f;
/* rgb */ color: rgb(202, 90, 127);
/* oklch */ color: oklch(61.7% 0.147 1.6);
Tailwind
colors: {
  custom: {
    50: '#de8da4',
    500: '#ca5a7f',
    950: '#000000',
  },
}
SCSS
$custom: #ca5a7f;
$custom-light: #de8da4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5a7f",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 127
  },
  "hsl": {
    "h": 340.179,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.1468,
    "h": 1.6
  },
  "luminance": 0.21401
}

Semantic roles & 50–950 ramp

primary
#CA5A7F
secondary
#A9D7C8
accent
#DBAC4D
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA5A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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