#C04FA5#C04FA5

#C04FA5 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.175 H 337.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04FA5
RGBrgb(192, 79, 165)
HSLhsl(314, 47%, 53%)
HSVhsv(314, 59%, 75%)
CMYKcmyk(0%, 58.9%, 14.1%, 24.7%)
CIE-LABlab(51.29, 55.35, -24.44)
CIE-LCHlch(51.29, 60.50, 336.18°)
OKLaboklab(60.29% 0.1626 -0.066)
OKLCHoklch(60.29% 0.175 337.9)
XYZxyz(31.3262, 19.5176, 37.7074)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA5 #4FC06A
analogous
#A24FC0 #C04FA5 #C04F6C
triadic
#C04FA5 #A5C04F #4FA5C0
tetradic
#C04FA5 #C0A24F #4FC06A #4F6CC0
square
#C04FA5 #C0A24F #4FC06A #4F6CC0
split-complementary
#C04FA5 #6CC04F #4FC0A2
monochromatic
#6D275D #9A3783 #C04FA5 #D07CBC #E0A9D3

Accessibility & contrast

On white

4.28
#C04FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C04FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA5#FFFFFF#000000##000000
##C04FA51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA8
Deuteranopia (green-blind)
#7481A2
Tritanopia (blue-blind)
#CA5373
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa5;
/* rgb */ color: rgb(192, 79, 165);
/* oklch */ color: oklch(60.3% 0.175 337.9);
Tailwind
colors: {
  custom: {
    50: '#d686c0',
    500: '#c04fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa5;
$custom-light: #d686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa5",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 314.336,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6029,
    "c": 0.17548,
    "h": 337.9
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#C04FA5
secondary
#9DCEA9
accent
#D77151
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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