#CA4F7B#CA4F7B

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

Color values

HEX#CA4F7B
RGBrgb(202, 79, 123)
HSLhsl(339, 54%, 55%)
HSVhsv(339, 61%, 79%)
CMYKcmyk(0%, 60.9%, 39.1%, 20.8%)
CIE-LABlab(51.36, 52.82, 0.78)
CIE-LCHlch(51.36, 52.83, 0.84°)
OKLaboklab(60.17% 0.1613 0.0027)
OKLCHoklch(60.17% 0.161 0.9)
XYZxyz(30.7302, 19.5820, 20.8964)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F7B #4FCA9E
analogous
#CA4FB8 #CA4F7B #CA614F
triadic
#CA4F7B #7BCA4F #4F7BCA
tetradic
#CA4F7B #B8CA4F #4FCA9E #614FCA
square
#CA4F7B #B8CA4F #4FCA9E #614FCA
split-complementary
#CA4F7B #4FCA61 #4FB8CA
monochromatic
#7A2543 #A9335D #CA4F7B #D87E9E #E6ADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA4F7B#FFFFFF#000000##000000
##CA4F7B1.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)
#666C7C
Deuteranopia (green-blind)
#868378
Tritanopia (blue-blind)
#DA4360
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca4f7b;
/* rgb */ color: rgb(202, 79, 123);
/* oklch */ color: oklch(60.2% 0.161 0.9);
Tailwind
colors: {
  custom: {
    50: '#de86a1',
    500: '#ca4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f7b;
$custom-light: #de86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f7b",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 338.537,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.16127,
    "h": 0.9
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

primary
#CA4F7B
secondary
#A1D4C2
accent
#DDA94B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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