#CA4F8E#CA4F8E

#CA4F8E is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.169 H 351.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CA4F8E
RGBrgb(202, 79, 142)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 61%, 79%)
CMYKcmyk(0%, 60.9%, 29.7%, 20.8%)
CIE-LABlab(51.96, 55.06, -9.68)
CIE-LCHlch(51.96, 55.90, 350.02°)
OKLaboklab(60.8% 0.1673 -0.025)
OKLCHoklch(60.8% 0.169 351.5)
XYZxyz(32.0370, 20.1048, 27.7793)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F8E #4FCA8B
analogous
#C84FCA #CA4F8E #CA4F51
triadic
#CA4F8E #8ECA4F #4F8ECA
tetradic
#CA4F8E #CAC84F #4FCA8B #4F51CA
square
#CA4F8E #CAC84F #4FCA8B #4F51CA
split-complementary
#CA4F8E #51CA4F #4FCAC8
monochromatic
#7A2550 #A9336F #CA4F8E #D87EAC #E6ADCA

Accessibility & contrast

On white

4.18
#CA4F8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CA4F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F8E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F8E#FFFFFF#000000##000000
##CA4F8E1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E90
Deuteranopia (green-blind)
#82848B
Tritanopia (blue-blind)
#D84968
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f8e;
/* rgb */ color: rgb(202, 79, 142);
/* oklch */ color: oklch(60.8% 0.169 351.5);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#ca4f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f8e;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f8e",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 329.268,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.16917,
    "h": 351.5
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#CA4F8E
secondary
#A1D4BA
accent
#DD924B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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