#C04A8F#C04A8F

#C04A8F is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.8% C 0.168 H 347.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C04A8F
RGBrgb(192, 74, 143)
HSLhsl(325, 48%, 52%)
HSVhsv(325, 61%, 75%)
CMYKcmyk(0%, 61.5%, 25.5%, 24.7%)
CIE-LABlab(49.61, 54.39, -13.98)
CIE-LCHlch(49.61, 56.16, 345.59°)
OKLaboklab(58.77% 0.1643 -0.0368)
OKLCHoklch(58.77% 0.168 347.4)
XYZxyz(29.1460, 18.0900, 27.9380)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A8F #4AC07B
analogous
#B64AC0 #C04A8F #C04A54
triadic
#C04A8F #8FC04A #4A8FC0
tetradic
#C04A8F #C0B64A #4AC07B #4A54C0
square
#C04A8F #C0B64A #4AC07B #4A54C0
split-complementary
#C04A8F #54C04A #4AC0B6
monochromatic
#6B254E #98356F #C04A8F #D077AB #E0A5C7

Accessibility & contrast

On white

4.55
#C04A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C04A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04A8F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A8F#FFFFFF#000000##000000
##C04A8F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#797D8C
Tritanopia (blue-blind)
#CD4766
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c04a8f;
/* rgb */ color: rgb(192, 74, 143);
/* oklch */ color: oklch(58.8% 0.168 347.4);
Tailwind
colors: {
  custom: {
    50: '#d683af',
    500: '#c04a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c04a8f;
$custom-light: #d683af;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a8f",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 324.915,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.16837,
    "h": 347.4
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#C04A8F
secondary
#99CDAF
accent
#D88850
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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