#CA4F8B#CA4F8B

#CA4F8B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.168 H 352.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CA4F8B
RGBrgb(202, 79, 139)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 61%, 79%)
CMYKcmyk(0%, 60.9%, 31.2%, 20.8%)
CIE-LABlab(51.86, 54.68, -8.05)
CIE-LCHlch(51.86, 55.27, 351.63°)
OKLaboklab(60.69% 0.1664 -0.0206)
OKLCHoklch(60.69% 0.168 352.9)
XYZxyz(31.8148, 20.0159, 26.6091)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F8B #4FCA8E
analogous
#CA4FC8 #CA4F8B #CA514F
triadic
#CA4F8B #8BCA4F #4F8BCA
tetradic
#CA4F8B #C8CA4F #4FCA8E #514FCA
square
#CA4F8B #C8CA4F #4FCA8E #514FCA
split-complementary
#CA4F8B #4FCA51 #4FC8CA
monochromatic
#7A254E #A9336C #CA4F8B #D87EAA #E6ADC9

Accessibility & contrast

On white

4.20
#CA4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CA4F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F8B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F8B#FFFFFF#000000##000000
##CA4F8B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8D
Deuteranopia (green-blind)
#838488
Tritanopia (blue-blind)
#D84867
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ca4f8b;
/* rgb */ color: rgb(202, 79, 139);
/* oklch */ color: oklch(60.7% 0.168 352.9);
Tailwind
colors: {
  custom: {
    50: '#de87ac',
    500: '#ca4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f8b;
$custom-light: #de87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f8b",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 330.732,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.16769,
    "h": 352.9
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#CA4F8B
secondary
#A1D4BB
accent
#DD964B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CA4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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