#CA4F9C#CA4F9C

#CA4F9C is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.177 H 345.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CA4F9C
RGBrgb(202, 79, 156)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 61%, 79%)
CMYKcmyk(0%, 60.9%, 22.8%, 20.8%)
CIE-LABlab(52.46, 56.90, -17.21)
CIE-LCHlch(52.46, 59.45, 343.17°)
OKLaboklab(61.34% 0.171 -0.0457)
OKLCHoklch(61.34% 0.177 345.1)
XYZxyz(33.1549, 20.5519, 33.6668)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA4F9C #4FCA7D
analogous
#BB4FCA #CA4F9C #CA4F5E
triadic
#CA4F9C #9CCA4F #4F9CCA
tetradic
#CA4F9C #CABB4F #4FCA7D #4F5ECA
square
#CA4F9C #CABB4F #4FCA7D #4F5ECA
split-complementary
#CA4F9C #5ECA4F #4FCABB
monochromatic
#7A255A #A9337D #CA4F9C #D87EB6 #E6ADD1

Accessibility & contrast

On white

4.11
#CA4F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CA4F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA4F9C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA4F9C#FFFFFF#000000##000000
##CA4F9C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#7E8599
Tritanopia (blue-blind)
#D74E6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ca4f9c;
/* rgb */ color: rgb(202, 79, 156);
/* oklch */ color: oklch(61.3% 0.177 345.1);
Tailwind
colors: {
  custom: {
    50: '#dd87b9',
    500: '#ca4f9c',
    950: '#000000',
  },
}
SCSS
$custom: #ca4f9c;
$custom-light: #dd87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca4f9c",
  "rgb": {
    "r": 202,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 322.439,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.17702,
    "h": 345.1
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#CA4F9C
secondary
#A1D4B4
accent
#DD814B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CA4F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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