#CA4FAF#CA4FAF

#CA4FAF is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.190 H 337.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CA4FAF
RGBrgb(202, 79, 175)
HSLhsl(313, 54%, 55%)
HSVhsv(313, 61%, 79%)
CMYKcmyk(0%, 60.9%, 13.4%, 20.8%)
CIE-LABlab(53.22, 59.66, -27.18)
CIE-LCHlch(53.22, 65.56, 335.51°)
OKLaboklab(62.15% 0.175 -0.0736)
OKLCHoklch(62.15% 0.19 337.2)
XYZxyz(34.8914, 21.2465, 42.8125)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FAF #4FCA6A
analogous
#A84FCA #CA4FAF #CA4F71
triadic
#CA4FAF #AFCA4F #4FAFCA
tetradic
#CA4FAF #CAA84F #4FCA6A #4F71CA
square
#CA4FAF #CAA84F #4FCA6A #4F71CA
split-complementary
#CA4FAF #71CA4F #4FCAA8
monochromatic
#7A2567 #A9338F #CA4FAF #D87EC4 #E6ADDA

Accessibility & contrast

On white

4.00
#CA4FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CA4FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FAF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FAF#FFFFFF#000000##000000
##CA4FAF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#7886AC
Tritanopia (blue-blind)
#D45478
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca4faf;
/* rgb */ color: rgb(202, 79, 175);
/* oklch */ color: oklch(62.1% 0.190 337.2);
Tailwind
colors: {
  custom: {
    50: '#dd87c7',
    500: '#ca4faf',
    950: '#000000',
  },
}
SCSS
$custom: #ca4faf;
$custom-light: #dd87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4faf",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 313.171,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.18982,
    "h": 337.2
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#CA4FAF
secondary
#A1D4AC
accent
#DD6B4B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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