#CA3FA7#CA3FA7

#CA3FA7 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.1% C 0.206 H 339.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CA3FA7
RGBrgb(202, 63, 167)
HSLhsl(315, 57%, 52%)
HSVhsv(315, 69%, 79%)
CMYKcmyk(0%, 68.8%, 17.3%, 20.8%)
CIE-LABlab(50.58, 64.85, -26.59)
CIE-LCHlch(50.58, 70.09, 337.71°)
OKLaboklab(60.1% 0.1927 -0.0718)
OKLCHoklch(60.1% 0.206 339.6)
XYZxyz(33.1105, 18.9047, 38.4569)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FA7 #3FCA62
analogous
#A83FCA #CA3FA7 #CA3F62
triadic
#CA3FA7 #A7CA3F #3FA7CA
tetradic
#CA3FA7 #CAA83F #3FCA62 #3F62CA
square
#CA3FA7 #CAA83F #3FCA62 #3F62CA
split-complementary
#CA3FA7 #62CA3F #3FCAA8
monochromatic
#701F5B #A02C83 #CA3FA7 #D76FBD #E49FD3

Accessibility & contrast

On white

4.39
#CA3FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CA3FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3FA7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3FA7#FFFFFF#000000##000000
##CA3FA71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#7380A4
Tritanopia (blue-blind)
#D5446E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ca3fa7;
/* rgb */ color: rgb(202, 63, 167);
/* oklch */ color: oklch(60.1% 0.206 339.6);
Tailwind
colors: {
  custom: {
    50: '#de7fc1',
    500: '#ca3fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca3fa7;
$custom-light: #de7fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3fa7",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 315.108,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60104,
    "c": 0.20562,
    "h": 339.6
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#CA3FA7
secondary
#94D1A3
accent
#E06E48
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA3FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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