#CA3FAF#CA3FAF

#CA3FAF is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.5% C 0.211 H 336.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CA3FAF
RGBrgb(202, 63, 175)
HSLhsl(312, 57%, 52%)
HSVhsv(312, 69%, 79%)
CMYKcmyk(0%, 68.8%, 13.4%, 20.8%)
CIE-LABlab(50.93, 66.00, -30.73)
CIE-LCHlch(50.93, 72.80, 335.03°)
OKLaboklab(60.48% 0.1938 -0.0836)
OKLCHoklch(60.48% 0.211 336.7)
XYZxyz(33.8730, 19.2097, 42.4730)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3FAF #3FCA5A
analogous
#A03FCA #CA3FAF #CA3F69
triadic
#CA3FAF #AFCA3F #3FAFCA
tetradic
#CA3FAF #CAA03F #3FCA5A #3F69CA
square
#CA3FAF #CAA03F #3FCA5A #3F69CA
split-complementary
#CA3FAF #69CA3F #3FCAA0
monochromatic
#701F60 #A02C89 #CA3FAF #D76FC3 #E49FD7

Accessibility & contrast

On white

4.34
#CA3FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CA3FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3FAF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3FAF#FFFFFF#000000##000000
##CA3FAF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#D44772
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca3faf;
/* rgb */ color: rgb(202, 63, 175);
/* oklch */ color: oklch(60.5% 0.211 336.7);
Tailwind
colors: {
  custom: {
    50: '#de7fc7',
    500: '#ca3faf',
    950: '#000000',
  },
}
SCSS
$custom: #ca3faf;
$custom-light: #de7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3faf",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 311.655,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.21105,
    "h": 336.7
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#CA3FAF
secondary
#94D1A0
accent
#E06548
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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