#C04EA9#C04EA9

#C04EA9 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.4% C 0.180 H 336.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04EA9
RGBrgb(192, 78, 169)
HSLhsl(312, 48%, 53%)
HSVhsv(312, 59%, 75%)
CMYKcmyk(0%, 59.4%, 12%, 24.7%)
CIE-LABlab(51.29, 56.41, -26.78)
CIE-LCHlch(51.29, 62.45, 334.61°)
OKLaboklab(60.35% 0.1647 -0.0726)
OKLCHoklch(60.35% 0.18 336.2)
XYZxyz(31.6244, 19.5223, 39.6310)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA9 #4EC065
analogous
#9E4EC0 #C04EA9 #C04E70
triadic
#C04EA9 #A9C04E #4EA9C0
tetradic
#C04EA9 #C09E4E #4EC065 #4E70C0
square
#C04EA9 #C09E4E #4EC065 #4E70C0
split-complementary
#C04EA9 #70C04E #4EC09E
monochromatic
#6D275F #9A3786 #C04EA9 #D07BBF #E0A8D5

Accessibility & contrast

On white

4.28
#C04EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C04EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EA9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EA9#FFFFFF#000000##000000
##C04EA91.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAC
Deuteranopia (green-blind)
#7280A6
Tritanopia (blue-blind)
#C95474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ea9;
/* rgb */ color: rgb(192, 78, 169);
/* oklch */ color: oklch(60.4% 0.180 336.2);
Tailwind
colors: {
  custom: {
    50: '#d686c3',
    500: '#c04ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea9;
$custom-light: #d686c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea9",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 169
  },
  "hsl": {
    "h": 312.105,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.17995,
    "h": 336.2
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#C04EA9
secondary
#9CCEA6
accent
#D76C51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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