#C04FA8#C04FA8

#C04FA8 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.178 H 336.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C04FA8
RGBrgb(192, 79, 168)
HSLhsl(313, 47%, 53%)
HSVhsv(313, 59%, 75%)
CMYKcmyk(0%, 58.9%, 12.5%, 24.7%)
CIE-LABlab(51.41, 55.81, -26.00)
CIE-LCHlch(51.41, 61.57, 335.02°)
OKLaboklab(60.43% 0.1632 -0.0704)
OKLCHoklch(60.43% 0.178 336.7)
XYZxyz(31.6024, 19.6281, 39.1623)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA8 #4FC067
analogous
#9F4FC0 #C04FA8 #C04F70
triadic
#C04FA8 #A8C04F #4FA8C0
tetradic
#C04FA8 #C09F4F #4FC067 #4F70C0
square
#C04FA8 #C09F4F #4FC067 #4F70C0
split-complementary
#C04FA8 #70C04F #4FC09F
monochromatic
#6D275F #9A3785 #C04FA8 #D07CBE #E0A9D5

Accessibility & contrast

On white

4.26
#C04FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C04FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA8#FFFFFF#000000##000000
##C04FA81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#C95474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa8;
/* rgb */ color: rgb(192, 79, 168);
/* oklch */ color: oklch(60.4% 0.178 336.7);
Tailwind
colors: {
  custom: {
    50: '#d686c2',
    500: '#c04fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa8;
$custom-light: #d686c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa8",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 312.743,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.17771,
    "h": 336.7
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#C04FA8
secondary
#9DCEA7
accent
#D76D51
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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