#CA45A7#CA45A7

#CA45A7 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.198 H 339.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA45A7
RGBrgb(202, 69, 167)
HSLhsl(316, 56%, 53%)
HSVhsv(316, 66%, 79%)
CMYKcmyk(0%, 65.8%, 17.3%, 20.8%)
CIE-LABlab(51.39, 62.58, -25.33)
CIE-LCHlch(51.39, 67.51, 337.97°)
OKLaboklab(60.7% 0.1858 -0.0683)
OKLCHoklch(60.7% 0.198 339.8)
XYZxyz(33.4611, 19.6059, 38.5738)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A7 #45CA68
analogous
#AA45CA #CA45A7 #CA4564
triadic
#CA45A7 #A7CA45 #45A7CA
tetradic
#CA45A7 #CAAA45 #45CA68 #4564CA
square
#CA45A7 #CAAA45 #45CA68 #4564CA
split-complementary
#CA45A7 #64CA45 #45CAAA
monochromatic
#74215E #A32F85 #CA45A7 #D875BE #E5A4D4

Accessibility & contrast

On white

4.27
#CA45A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA45A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45A7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45A7#FFFFFF#000000##000000
##CA45A71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6DAA
Deuteranopia (green-blind)
#7682A4
Tritanopia (blue-blind)
#D54970
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca45a7;
/* rgb */ color: rgb(202, 69, 167);
/* oklch */ color: oklch(60.7% 0.198 339.8);
Tailwind
colors: {
  custom: {
    50: '#de82c1',
    500: '#ca45a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a7;
$custom-light: #de82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a7",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 315.789,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60696,
    "c": 0.19799,
    "h": 339.8
  },
  "luminance": 0.19603
}

Semantic roles & 50–950 ramp

primary
#CA45A7
secondary
#99D2A8
accent
#DF7049
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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