#CA2BAF#CA2BAF

#CA2BAF is a mid, highly saturated pink. Relative luminance 0.174; OKLCH L 58.9% C 0.232 H 336.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CA2BAF
RGBrgb(202, 43, 175)
HSLhsl(310, 65%, 48%)
HSVhsv(310, 79%, 79%)
CMYKcmyk(0%, 78.7%, 13.4%, 20.8%)
CIE-LABlab(48.74, 72.23, -34.16)
CIE-LCHlch(48.74, 79.90, 334.69°)
OKLaboklab(58.9% 0.2124 -0.0932)
OKLCHoklch(58.9% 0.232 336.3)
XYZxyz(32.9595, 17.3826, 42.1685)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2BAF #2BCA46
analogous
#962BCA #CA2BAF #CA2B5F
triadic
#CA2BAF #AFCA2B #2BAFCA
tetradic
#CA2BAF #CA962B #2BCA46 #2B5FCA
square
#CA2BAF #CA962B #2BCA46 #2B5FCA
split-complementary
#CA2BAF #5FCA2B #2BCA96
monochromatic
#651658 #982083 #CA2BAF #DB57C5 #E689D6

Accessibility & contrast

On white

4.69
#CA2BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CA2BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2BAF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2BAF#FFFFFF#000000##FFFFFF
##CA2BAF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B2
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#D5386C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca2baf;
/* rgb */ color: rgb(202, 43, 175);
/* oklch */ color: oklch(58.9% 0.232 336.3);
Tailwind
colors: {
  custom: {
    50: '#de77c7',
    500: '#ca2baf',
    950: '#000000',
  },
}
SCSS
$custom: #ca2baf;
$custom-light: #de77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2baf",
  "rgb": {
    "r": 202,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 310.189,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58897,
    "c": 0.23195,
    "h": 336.3
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#CA2BAF
secondary
#81D08E
accent
#E85C40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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