#C04098#C04098

#C04098 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.188 H 342.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C04098
RGBrgb(192, 64, 152)
HSLhsl(319, 50%, 50%)
HSVhsv(319, 67%, 75%)
CMYKcmyk(0%, 66.7%, 20.8%, 24.7%)
CIE-LABlab(48.44, 59.78, -21.13)
CIE-LCHlch(48.44, 63.40, 340.53°)
OKLaboklab(58.03% 0.1791 -0.0566)
OKLCHoklch(58.03% 0.188 342.5)
XYZxyz(29.2400, 17.1431, 31.4687)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04098 #40C068
analogous
#A840C0 #C04098 #C04058
triadic
#C04098 #98C040 #4098C0
tetradic
#C04098 #C0A840 #40C068 #4058C0
square
#C04098 #C0A840 #40C068 #4058C0
split-complementary
#C04098 #58C040 #40C0A8
monochromatic
#64214F #923074 #C04098 #CF6EB1 #DE9CCA

Accessibility & contrast

On white

4.74
#C04098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C04098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04098
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04098#FFFFFF#000000##FFFFFF
##C040981.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#717B95
Tritanopia (blue-blind)
#CC4166
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04098;
/* rgb */ color: rgb(192, 64, 152);
/* oklch */ color: oklch(58.0% 0.188 342.5);
Tailwind
colors: {
  custom: {
    50: '#d77eb6',
    500: '#c04098',
    950: '#000000',
  },
}
SCSS
$custom: #c04098;
$custom-light: #d77eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04098",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 318.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58025,
    "c": 0.1878,
    "h": 342.5
  },
  "luminance": 0.1714
}

Semantic roles & 50–950 ramp

primary
#C04098
secondary
#91CBA3
accent
#DA7A4E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04098

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

Preview Lab → · Contrast checker → · Palette generator →

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