#CA4FB2#CA4FB2

#CA4FB2 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.192 H 336.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CA4FB2
RGBrgb(202, 79, 178)
HSLhsl(312, 54%, 55%)
HSVhsv(312, 61%, 79%)
CMYKcmyk(0%, 60.9%, 11.9%, 20.8%)
CIE-LABlab(53.35, 60.12, -28.73)
CIE-LCHlch(53.35, 66.63, 334.46°)
OKLaboklab(62.28% 0.1755 -0.078)
OKLCHoklch(62.28% 0.192 336)
XYZxyz(35.1893, 21.3657, 44.3815)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4FB2 #4FCA67
analogous
#A44FCA #CA4FB2 #CA4F75
triadic
#CA4FB2 #B2CA4F #4FB2CA
tetradic
#CA4FB2 #CAA44F #4FCA67 #4F75CA
square
#CA4FB2 #CAA44F #4FCA67 #4F75CA
split-complementary
#CA4FB2 #75CA4F #4FCAA4
monochromatic
#7A2569 #A93392 #CA4FB2 #D87EC7 #E6ADDB

Accessibility & contrast

On white

3.98
#CA4FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CA4FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4FB2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4FB2#FFFFFF#000000##000000
##CA4FB21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#7686AF
Tritanopia (blue-blind)
#D45679
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca4fb2;
/* rgb */ color: rgb(202, 79, 178);
/* oklch */ color: oklch(62.3% 0.192 336.0);
Tailwind
colors: {
  custom: {
    50: '#dd88c9',
    500: '#ca4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4fb2;
$custom-light: #dd88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4fb2",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 311.707,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.19201,
    "h": 336
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#CA4FB2
secondary
#A1D4AB
accent
#DD674B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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