#CA56B2#CA56B2

#CA56B2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.1% C 0.182 H 336.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CA56B2
RGBrgb(202, 86, 178)
HSLhsl(312, 52%, 56%)
HSVhsv(312, 57%, 79%)
CMYKcmyk(0%, 57.4%, 11.9%, 20.8%)
CIE-LABlab(54.48, 57.04, -26.97)
CIE-LCHlch(54.48, 63.09, 334.69°)
OKLaboklab(63.12% 0.1664 -0.0731)
OKLCHoklch(63.12% 0.182 336.3)
XYZxyz(35.7211, 22.4292, 44.5587)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA56B2 #56CA6E
analogous
#A856CA #CA56B2 #CA5678
triadic
#CA56B2 #B2CA56 #56B2CA
tetradic
#CA56B2 #CAA856 #56CA6E #5678CA
square
#CA56B2 #CAA856 #56CA6E #5678CA
split-complementary
#CA56B2 #78CA56 #56CAA8
monochromatic
#7E286C #AD3694 #CA56B2 #D985C7 #E7B3DC

Accessibility & contrast

On white

3.83
#CA56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CA56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA56B2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA56B2#FFFFFF#000000##000000
##CA56B21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#D35C7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca56b2;
/* rgb */ color: rgb(202, 86, 178);
/* oklch */ color: oklch(63.1% 0.182 336.3);
Tailwind
colors: {
  custom: {
    50: '#dd8bc9',
    500: '#ca56b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca56b2;
$custom-light: #dd8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca56b2",
  "rgb": {
    "r": 202,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 312.414,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63115,
    "c": 0.18173,
    "h": 336.3
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#CA56B2
secondary
#A6D6B0
accent
#DC6A4C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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