#CA4F78#CA4F78

#CA4F78 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.1% C 0.160 H 2.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA4F78
RGBrgb(202, 79, 120)
HSLhsl(340, 54%, 55%)
HSVhsv(340, 61%, 79%)
CMYKcmyk(0%, 60.9%, 40.6%, 20.8%)
CIE-LABlab(51.28, 52.50, 2.45)
CIE-LCHlch(51.28, 52.56, 2.67°)
OKLaboklab(60.07% 0.1602 0.007)
OKLCHoklch(60.07% 0.16 2.5)
XYZxyz(30.5452, 19.5080, 19.9225)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F78 #4FCAA1
analogous
#CA4FB6 #CA4F78 #CA634F
triadic
#CA4F78 #78CA4F #4F78CA
tetradic
#CA4F78 #B6CA4F #4FCAA1 #634FCA
square
#CA4F78 #B6CA4F #4FCAA1 #634FCA
split-complementary
#CA4F78 #4FCA63 #4FB6CA
monochromatic
#7A2541 #A9335A #CA4F78 #D87E9C #E6ADC0

Accessibility & contrast

On white

4.28
#CA4F78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CA4F78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F78
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F78#FFFFFF#000000##000000
##CA4F781.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666B79
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#DA425F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4f78;
/* rgb */ color: rgb(202, 79, 120);
/* oklch */ color: oklch(60.1% 0.160 2.5);
Tailwind
colors: {
  custom: {
    50: '#de869e',
    500: '#ca4f78',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f78;
$custom-light: #de869e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f78",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 120
  },
  "hsl": {
    "h": 340,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.16035,
    "h": 2.5
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

primary
#CA4F78
secondary
#A1D4C3
accent
#DDAC4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA4F78

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

Preview Lab → · Contrast checker → · Palette generator →

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