#CA4BAF#CA4BAF

#CA4BAF is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.195 H 337.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CA4BAF
RGBrgb(202, 75, 175)
HSLhsl(313, 55%, 54%)
HSVhsv(313, 63%, 79%)
CMYKcmyk(0%, 62.9%, 13.4%, 20.8%)
CIE-LABlab(52.60, 61.34, -28.13)
CIE-LCHlch(52.60, 67.48, 335.36°)
OKLaboklab(61.7% 0.18 -0.0762)
OKLCHoklch(61.7% 0.195 337)
XYZxyz(34.6115, 20.6868, 42.7192)
Luminance0.2068 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4BAF #4BCA66
analogous
#A64BCA #CA4BAF #CA4B70
triadic
#CA4BAF #AFCA4B #4BAFCA
tetradic
#CA4BAF #CAA64B #4BCA66 #4B70CA
square
#CA4BAF #CAA64B #4BCA66 #4B70CA
split-complementary
#CA4BAF #70CA4B #4BCAA6
monochromatic
#772366 #A7318E #CA4BAF #D87AC4 #E6AAD9

Accessibility & contrast

On white

4.09
#CA4BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CA4BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4BAF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4BAF#FFFFFF#000000##000000
##CA4BAF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B2
Deuteranopia (green-blind)
#7685AC
Tritanopia (blue-blind)
#D45176
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4baf;
/* rgb */ color: rgb(202, 75, 175);
/* oklch */ color: oklch(61.7% 0.195 337.0);
Tailwind
colors: {
  custom: {
    50: '#dd85c7',
    500: '#ca4baf',
    950: '#000000',
  },
}
SCSS
$custom: #ca4baf;
$custom-light: #dd85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4baf",
  "rgb": {
    "r": 202,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 312.756,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.19546,
    "h": 337
  },
  "luminance": 0.20684
}

Semantic roles & 50–950 ramp

primary
#CA4BAF
secondary
#9DD3A9
accent
#DE694A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CA4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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