#CA4F7C#CA4F7C

#CA4F7C is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.162 H 0.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CA4F7C
RGBrgb(202, 79, 124)
HSLhsl(338, 54%, 55%)
HSVhsv(338, 61%, 79%)
CMYKcmyk(0%, 60.9%, 38.6%, 20.8%)
CIE-LABlab(51.39, 52.93, 0.22)
CIE-LCHlch(51.39, 52.93, 0.24°)
OKLaboklab(60.2% 0.1616 0.0012)
OKLCHoklch(60.2% 0.162 0.4)
XYZxyz(30.7931, 19.6072, 21.2278)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F7C #4FCA9D
analogous
#CA4FB9 #CA4F7C #CA604F
triadic
#CA4F7C #7CCA4F #4F7CCA
tetradic
#CA4F7C #B9CA4F #4FCA9D #604FCA
square
#CA4F7C #B9CA4F #4FCA9D #604FCA
split-complementary
#CA4F7C #4FCA60 #4FB9CA
monochromatic
#7A2544 #A9335E #CA4F7C #D87E9F #E6ADC2

Accessibility & contrast

On white

4.27
#CA4F7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CA4F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F7C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F7C#FFFFFF#000000##000000
##CA4F7C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#DA4360
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4f7c;
/* rgb */ color: rgb(202, 79, 124);
/* oklch */ color: oklch(60.2% 0.162 0.4);
Tailwind
colors: {
  custom: {
    50: '#de86a1',
    500: '#ca4f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f7c;
$custom-light: #de86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f7c",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 338.049,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60196,
    "c": 0.1616,
    "h": 0.4
  },
  "luminance": 0.19604
}

Semantic roles & 50–950 ramp

primary
#CA4F7C
secondary
#A1D4C1
accent
#DDA84B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CA4F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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