#C04FA1#C04FA1

#C04FA1 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.1% C 0.173 H 339.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C04FA1
RGBrgb(192, 79, 161)
HSLhsl(316, 47%, 53%)
HSVhsv(316, 59%, 75%)
CMYKcmyk(0%, 58.9%, 16.1%, 24.7%)
CIE-LABlab(51.12, 54.73, -22.34)
CIE-LCHlch(51.12, 59.12, 337.80°)
OKLaboklab(60.11% 0.1618 -0.0601)
OKLCHoklch(60.11% 0.173 339.6)
XYZxyz(30.9678, 19.3742, 35.8199)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA1 #4FC06E
analogous
#A64FC0 #C04FA1 #C04F68
triadic
#C04FA1 #A1C04F #4FA1C0
tetradic
#C04FA1 #C0A64F #4FC06E #4F68C0
square
#C04FA1 #C0A64F #4FC06E #4F68C0
split-complementary
#C04FA1 #68C04F #4FC0A6
monochromatic
#6D275A #9A377F #C04FA1 #D07CB9 #E0A9D1

Accessibility & contrast

On white

4.31
#C04FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C04FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA1#FFFFFF#000000##000000
##C04FA11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#76809E
Tritanopia (blue-blind)
#CA5271
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa1;
/* rgb */ color: rgb(192, 79, 161);
/* oklch */ color: oklch(60.1% 0.173 339.6);
Tailwind
colors: {
  custom: {
    50: '#d686bd',
    500: '#c04fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa1;
$custom-light: #d686bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa1",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 316.46,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.17259,
    "h": 339.6
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#C04FA1
secondary
#9DCEAA
accent
#D77651
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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