#C04298#C04298

#C04298 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.185 H 342.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C04298
RGBrgb(192, 66, 152)
HSLhsl(319, 50%, 51%)
HSVhsv(319, 66%, 75%)
CMYKcmyk(0%, 65.6%, 20.8%, 24.7%)
CIE-LABlab(48.73, 58.98, -20.69)
CIE-LCHlch(48.73, 62.50, 340.67°)
OKLaboklab(58.23% 0.1767 -0.0553)
OKLCHoklch(58.23% 0.185 342.6)
XYZxyz(29.3548, 17.3727, 31.5070)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04298 #42C06A
analogous
#A942C0 #C04298 #C04259
triadic
#C04298 #98C042 #4298C0
tetradic
#C04298 #C0A942 #42C06A #4259C0
square
#C04298 #C0A942 #42C06A #4259C0
split-complementary
#C04298 #59C042 #42C0A9
monochromatic
#662250 #943174 #C04298 #CF70B1 #DF9ECA

Accessibility & contrast

On white

4.69
#C04298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C04298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04298
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04298#FFFFFF#000000##FFFFFF
##C042981.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D679B
Deuteranopia (green-blind)
#727B95
Tritanopia (blue-blind)
#CC4367
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04298;
/* rgb */ color: rgb(192, 66, 152);
/* oklch */ color: oklch(58.2% 0.185 342.6);
Tailwind
colors: {
  custom: {
    50: '#d77fb6',
    500: '#c04298',
    950: '#000000',
  },
}
SCSS
$custom: #c04298;
$custom-light: #d77fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04298",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 152
  },
  "hsl": {
    "h": 319.048,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.18513,
    "h": 342.6
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#C04298
secondary
#93CBA5
accent
#DA7A4E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04298

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

Preview Lab → · Contrast checker → · Palette generator →

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