#C04F7E#C04F7E

#C04F7E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.8% C 0.153 H 356.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C04F7E
RGBrgb(192, 79, 126)
HSLhsl(335, 47%, 53%)
HSVhsv(335, 59%, 75%)
CMYKcmyk(0%, 58.9%, 34.4%, 24.7%)
CIE-LABlab(49.87, 49.97, -3.40)
CIE-LCHlch(49.87, 50.09, 356.11°)
OKLaboklab(58.77% 0.1523 -0.0083)
OKLCHoklch(58.77% 0.153 356.9)
XYZxyz(28.3016, 18.3077, 21.7779)
Luminance0.1830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04F7E #4FC091
analogous
#C04FB6 #C04F7E #C0584F
triadic
#C04F7E #7EC04F #4F7EC0
tetradic
#C04F7E #B6C04F #4FC091 #584FC0
square
#C04F7E #B6C04F #4FC091 #584FC0
split-complementary
#C04F7E #4FC058 #4FB6C0
monochromatic
#6D2744 #9A3761 #C04F7E #D07C9F #E0A9C0

Accessibility & contrast

On white

4.51
#C04F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C04F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04F7E
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04F7E#FFFFFF#000000##000000
##C04F7E1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#CE4761
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04f7e;
/* rgb */ color: rgb(192, 79, 126);
/* oklch */ color: oklch(58.8% 0.153 356.9);
Tailwind
colors: {
  custom: {
    50: '#d785a3',
    500: '#c04f7e',
    950: '#000000',
  },
}
SCSS
$custom: #c04f7e;
$custom-light: #d785a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04f7e",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 335.044,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58773,
    "c": 0.15252,
    "h": 356.9
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#C04F7E
secondary
#9DCEB9
accent
#D79F51
background
#FDF8FA
surface
#FBF0F3
border
#D4CBCD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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