#CA4BA2#CA4BA2

#CA4BA2 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.1% C 0.187 H 342.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CA4BA2
RGBrgb(202, 75, 162)
HSLhsl(319, 55%, 54%)
HSVhsv(319, 63%, 79%)
CMYKcmyk(0%, 62.9%, 19.8%, 20.8%)
CIE-LABlab(52.06, 59.45, -21.35)
CIE-LCHlch(52.06, 63.16, 340.24°)
OKLaboklab(61.12% 0.1776 -0.0571)
OKLCHoklch(61.12% 0.187 342.2)
XYZxyz(33.3957, 20.2004, 36.3157)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BA2 #4BCA73
analogous
#B34BCA #CA4BA2 #CA4B63
triadic
#CA4BA2 #A2CA4B #4BA2CA
tetradic
#CA4BA2 #CAB34B #4BCA73 #4B63CA
square
#CA4BA2 #CAB34B #4BCA73 #4B63CA
split-complementary
#CA4BA2 #63CA4B #4BCAB3
monochromatic
#77235D #A73182 #CA4BA2 #D87ABA #E6AAD3

Accessibility & contrast

On white

4.17
#CA4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CA4BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BA2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BA2#FFFFFF#000000##000000
##CA4BA21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#7A849F
Tritanopia (blue-blind)
#D64C70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4ba2;
/* rgb */ color: rgb(202, 75, 162);
/* oklch */ color: oklch(61.1% 0.187 342.2);
Tailwind
colors: {
  custom: {
    50: '#dd85bd',
    500: '#ca4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ca4ba2;
$custom-light: #dd85bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4ba2",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 318.898,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61123,
    "c": 0.18653,
    "h": 342.2
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#CA4BA2
secondary
#9DD3AE
accent
#DE794A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CA4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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