#C04EA1#C04EA1

#C04EA1 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.174 H 339.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C04EA1
RGBrgb(192, 78, 161)
HSLhsl(316, 48%, 53%)
HSVhsv(316, 59%, 75%)
CMYKcmyk(0%, 59.4%, 16.1%, 24.7%)
CIE-LABlab(50.96, 55.18, -22.59)
CIE-LCHlch(50.96, 59.63, 337.74°)
OKLaboklab(59.99% 0.1631 -0.0608)
OKLCHoklch(59.99% 0.174 339.6)
XYZxyz(30.8962, 19.2310, 35.7960)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA1 #4EC06D
analogous
#A64EC0 #C04EA1 #C04E68
triadic
#C04EA1 #A1C04E #4EA1C0
tetradic
#C04EA1 #C0A64E #4EC06D #4E68C0
square
#C04EA1 #C0A64E #4EC06D #4E68C0
split-complementary
#C04EA1 #68C04E #4EC0A6
monochromatic
#6D275A #9A377F #C04EA1 #D07BB9 #E0A8D1

Accessibility & contrast

On white

4.33
#C04EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C04EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EA1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EA1#FFFFFF#000000##000000
##C04EA11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#75809E
Tritanopia (blue-blind)
#CA5170
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04ea1;
/* rgb */ color: rgb(192, 78, 161);
/* oklch */ color: oklch(60.0% 0.174 339.6);
Tailwind
colors: {
  custom: {
    50: '#d686bd',
    500: '#c04ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea1;
$custom-light: #d686bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea1",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 316.316,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.1741,
    "h": 339.6
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#C04EA1
secondary
#9CCEAA
accent
#D77551
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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