#CA5A7E#CA5A7E

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

Color values

HEX#CA5A7E
RGBrgb(202, 90, 126)
HSLhsl(341, 51%, 57%)
HSVhsv(341, 55%, 79%)
CMYKcmyk(0%, 55.4%, 37.6%, 20.8%)
CIE-LABlab(53.36, 48.07, 1.90)
CIE-LCHlch(53.36, 48.11, 2.26°)
OKLaboklab(61.69% 0.1464 0.0055)
OKLCHoklch(61.69% 0.146 2.2)
XYZxyz(31.7810, 21.3785, 22.1874)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5A7E #5ACAA6
analogous
#CA5AB6 #CA5A7E #CA6E5A
triadic
#CA5A7E #7ECA5A #5A7ECA
tetradic
#CA5A7E #B6CA5A #5ACAA6 #6E5ACA
square
#CA5A7E #B6CA5A #5ACAA6 #6E5ACA
split-complementary
#CA5A7E #5ACA6E #5AB6CA
monochromatic
#802945 #AF385E #CA5A7E #D988A2 #E8B7C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5A7E#FFFFFF#000000##000000
##CA5A7E1.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)
#6E727F
Deuteranopia (green-blind)
#8B877B
Tritanopia (blue-blind)
#D95067
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca5a7e;
/* rgb */ color: rgb(202, 90, 126);
/* oklch */ color: oklch(61.7% 0.146 2.2);
Tailwind
colors: {
  custom: {
    50: '#de8da3',
    500: '#ca5a7e',
    950: '#000000',
  },
}
SCSS
$custom: #ca5a7e;
$custom-light: #de8da3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5a7e",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 126
  },
  "hsl": {
    "h": 340.714,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.14649,
    "h": 2.2
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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