#C04F97#C04F97

#C04F97 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.166 H 344.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C04F97
RGBrgb(192, 79, 151)
HSLhsl(322, 47%, 53%)
HSVhsv(322, 59%, 75%)
CMYKcmyk(0%, 58.9%, 21.4%, 24.7%)
CIE-LABlab(50.73, 53.27, -17.03)
CIE-LCHlch(50.73, 55.92, 342.27°)
OKLaboklab(59.7% 0.1595 -0.0453)
OKLCHoklch(59.7% 0.166 344.2)
XYZxyz(30.1210, 19.0355, 31.3600)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04F97 #4FC078
analogous
#B04FC0 #C04F97 #C04F5E
triadic
#C04F97 #97C04F #4F97C0
tetradic
#C04F97 #C0B04F #4FC078 #4F5EC0
square
#C04F97 #C0B04F #4FC078 #4F5EC0
split-complementary
#C04F97 #5EC04F #4FC0B0
monochromatic
#6D2754 #9A3777 #C04F97 #D07CB2 #E0A9CC

Accessibility & contrast

On white

4.37
#C04F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C04F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04F97
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04F97#FFFFFF#000000##000000
##C04F971.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#798094
Tritanopia (blue-blind)
#CB4E6C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04f97;
/* rgb */ color: rgb(192, 79, 151);
/* oklch */ color: oklch(59.7% 0.166 344.2);
Tailwind
colors: {
  custom: {
    50: '#d686b5',
    500: '#c04f97',
    950: '#000000',
  },
}
SCSS
$custom: #c04f97;
$custom-light: #d686b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04f97",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 321.77,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.16583,
    "h": 344.2
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#C04F97
secondary
#9DCEAF
accent
#D78251
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C04F97

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

Preview Lab → · Contrast checker → · Palette generator →

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