#C04EA2#C04EA2

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

Color values

HEX#C04EA2
RGBrgb(192, 78, 162)
HSLhsl(316, 48%, 53%)
HSVhsv(316, 59%, 75%)
CMYKcmyk(0%, 59.4%, 15.6%, 24.7%)
CIE-LABlab(51.00, 55.33, -23.12)
CIE-LCHlch(51.00, 59.97, 337.33°)
OKLaboklab(60.04% 0.1633 -0.0623)
OKLCHoklch(60.04% 0.175 339.1)
XYZxyz(30.9847, 19.2665, 36.2623)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA2 #4EC06C
analogous
#A54EC0 #C04EA2 #C04E69
triadic
#C04EA2 #A2C04E #4EA2C0
tetradic
#C04EA2 #C0A54E #4EC06C #4E69C0
square
#C04EA2 #C0A54E #4EC06C #4E69C0
split-complementary
#C04EA2 #69C04E #4EC0A5
monochromatic
#6D275A #9A3780 #C04EA2 #D07BBA #E0A8D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04EA2#FFFFFF#000000##000000
##C04EA21.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)
#536EA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#CA5171
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04ea2;
/* rgb */ color: rgb(192, 78, 162);
/* oklch */ color: oklch(60.0% 0.175 339.1);
Tailwind
colors: {
  custom: {
    50: '#d686bd',
    500: '#c04ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea2;
$custom-light: #d686bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea2",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 315.789,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.17481,
    "h": 339.1
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#C04EA2
secondary
#9CCEA9
accent
#D77451
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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