#CA507F#CA507F

#CA507F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.161 H 359.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA507F
RGBrgb(202, 80, 127)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 60%, 79%)
CMYKcmyk(0%, 60.4%, 37.1%, 20.8%)
CIE-LABlab(51.64, 52.82, -1.20)
CIE-LCHlch(51.64, 52.83, 358.69°)
OKLaboklab(60.41% 0.1612 -0.0025)
OKLCHoklch(60.41% 0.161 359.1)
XYZxyz(31.0584, 19.8296, 22.2664)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA507F #50CA9B
analogous
#CA50BC #CA507F #CA5E50
triadic
#CA507F #7FCA50 #507FCA
tetradic
#CA507F #BCCA50 #50CA9B #5E50CA
square
#CA507F #BCCA50 #50CA9B #5E50CA
split-complementary
#CA507F #50CA5E #50BCCA
monochromatic
#7A2546 #A93361 #CA507F #D87FA1 #E6AEC4

Accessibility & contrast

On white

4.23
#CA507F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CA507F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA507F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA507F#FFFFFF#000000##000000
##CA507F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D80
Deuteranopia (green-blind)
#86847C
Tritanopia (blue-blind)
#D94562
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca507f;
/* rgb */ color: rgb(202, 80, 127);
/* oklch */ color: oklch(60.4% 0.161 359.1);
Tailwind
colors: {
  custom: {
    50: '#de87a4',
    500: '#ca507f',
    950: '#000000',
  },
}
SCSS
$custom: #ca507f;
$custom-light: #de87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca507f",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 336.885,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.16124,
    "h": 359.1
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#CA507F
secondary
#A1D4C1
accent
#DDA54B
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CA507F

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

Preview Lab → · Contrast checker → · Palette generator →

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