#C04E98#C04E98

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

Color values

HEX#C04E98
RGBrgb(192, 78, 152)
HSLhsl(321, 48%, 53%)
HSVhsv(321, 59%, 75%)
CMYKcmyk(0%, 59.4%, 20.8%, 24.7%)
CIE-LABlab(50.60, 53.86, -17.82)
CIE-LCHlch(50.60, 56.73, 341.69°)
OKLaboklab(59.61% 0.1611 -0.0474)
OKLCHoklch(59.61% 0.168 343.6)
XYZxyz(30.1309, 18.9249, 31.7657)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04E98 #4EC076
analogous
#AF4EC0 #C04E98 #C04E5F
triadic
#C04E98 #98C04E #4E98C0
tetradic
#C04E98 #C0AF4E #4EC076 #4E5FC0
square
#C04E98 #C0AF4E #4EC076 #4E5FC0
split-complementary
#C04E98 #5FC04E #4EC0AF
monochromatic
#6D2754 #9A3777 #C04E98 #D07BB2 #E0A8CD

Accessibility & contrast

On white

4.39
#C04E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04E98#FFFFFF#000000##000000
##C04E981.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#576C9A
Deuteranopia (green-blind)
#787F95
Tritanopia (blue-blind)
#CB4E6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04e98;
/* rgb */ color: rgb(192, 78, 152);
/* oklch */ color: oklch(59.6% 0.168 343.6);
Tailwind
colors: {
  custom: {
    50: '#d685b6',
    500: '#c04e98',
    950: '#000000',
  },
}
SCSS
$custom: #c04e98;
$custom-light: #d685b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04e98",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 321.053,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.16798,
    "h": 343.6
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04E98

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

Preview Lab → · Contrast checker → · Palette generator →

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