#C04E97#C04E97

#C04E97 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.167 H 344.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C04E97
RGBrgb(192, 78, 151)
HSLhsl(322, 48%, 53%)
HSVhsv(322, 59%, 75%)
CMYKcmyk(0%, 59.4%, 21.4%, 24.7%)
CIE-LABlab(50.56, 53.72, -17.29)
CIE-LCHlch(50.56, 56.43, 342.16°)
OKLaboklab(59.57% 0.1609 -0.046)
OKLCHoklch(59.57% 0.167 344.1)
XYZxyz(30.0494, 18.8923, 31.3361)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04E97 #4EC077
analogous
#B04EC0 #C04E97 #C04E5E
triadic
#C04E97 #97C04E #4E97C0
tetradic
#C04E97 #C0B04E #4EC077 #4E5EC0
square
#C04E97 #C0B04E #4EC077 #4E5EC0
split-complementary
#C04E97 #5EC04E #4EC0B0
monochromatic
#6D2754 #9A3776 #C04E97 #D07BB2 #E0A8CC

Accessibility & contrast

On white

4.40
#C04E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C04E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04E97
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04E97#FFFFFF#000000##000000
##C04E971.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#787F94
Tritanopia (blue-blind)
#CC4E6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04e97;
/* rgb */ color: rgb(192, 78, 151);
/* oklch */ color: oklch(59.6% 0.167 344.1);
Tailwind
colors: {
  custom: {
    50: '#d685b5',
    500: '#c04e97',
    950: '#000000',
  },
}
SCSS
$custom: #c04e97;
$custom-light: #d685b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04e97",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 321.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59571,
    "c": 0.16734,
    "h": 344.1
  },
  "luminance": 0.1889
}

Semantic roles & 50–950 ramp

primary
#C04E97
secondary
#9CCEAE
accent
#D78151
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04E97

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

Preview Lab → · Contrast checker → · Palette generator →

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