#C04097#C04097

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

Color values

HEX#C04097
RGBrgb(192, 64, 151)
HSLhsl(319, 50%, 50%)
HSVhsv(319, 67%, 75%)
CMYKcmyk(0%, 66.7%, 21.4%, 24.7%)
CIE-LABlab(48.40, 59.64, -20.60)
CIE-LCHlch(48.40, 63.09, 340.95°)
OKLaboklab(57.98% 0.1789 -0.0551)
OKLCHoklch(57.98% 0.187 342.9)
XYZxyz(29.1585, 17.1104, 31.0392)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04097 #40C069
analogous
#A940C0 #C04097 #C04057
triadic
#C04097 #97C040 #4097C0
tetradic
#C04097 #C0A940 #40C069 #4057C0
square
#C04097 #C0A940 #40C069 #4057C0
split-complementary
#C04097 #57C040 #40C0A9
monochromatic
#64214F #923073 #C04097 #CF6EB0 #DE9CC9

Accessibility & contrast

On white

4.75
#C04097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C04097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04097
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04097#FFFFFF#000000##FFFFFF
##C040971.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B659A
Deuteranopia (green-blind)
#727B94
Tritanopia (blue-blind)
#CC4166
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04097;
/* rgb */ color: rgb(192, 64, 151);
/* oklch */ color: oklch(58.0% 0.187 342.9);
Tailwind
colors: {
  custom: {
    50: '#d77eb5',
    500: '#c04097',
    950: '#000000',
  },
}
SCSS
$custom: #c04097;
$custom-light: #d77eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04097",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 319.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.18716,
    "h": 342.9
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#C04097
secondary
#91CBA4
accent
#DA7B4E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04097

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

Preview Lab → · Contrast checker → · Palette generator →

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