#C04FA0#C04FA0

#C04FA0 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.172 H 340.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C04FA0
RGBrgb(192, 79, 160)
HSLhsl(317, 47%, 53%)
HSVhsv(317, 59%, 75%)
CMYKcmyk(0%, 58.9%, 16.7%, 24.7%)
CIE-LABlab(51.08, 54.58, -21.81)
CIE-LCHlch(51.08, 58.78, 338.22°)
OKLaboklab(60.07% 0.1616 -0.0586)
OKLCHoklch(60.07% 0.172 340.1)
XYZxyz(30.8800, 19.3391, 35.3573)
Luminance0.1934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA0 #4FC06F
analogous
#A74FC0 #C04FA0 #C04F67
triadic
#C04FA0 #A0C04F #4FA0C0
tetradic
#C04FA0 #C0A74F #4FC06F #4F67C0
square
#C04FA0 #C0A74F #4FC06F #4F67C0
split-complementary
#C04FA0 #67C04F #4FC0A7
monochromatic
#6D275A #9A377E #C04FA0 #D07CB8 #E0A9D1

Accessibility & contrast

On white

4.31
#C04FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C04FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA0#FFFFFF#000000##000000
##C04FA01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#556EA3
Deuteranopia (green-blind)
#76809D
Tritanopia (blue-blind)
#CA5270
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa0;
/* rgb */ color: rgb(192, 79, 160);
/* oklch */ color: oklch(60.1% 0.172 340.1);
Tailwind
colors: {
  custom: {
    50: '#d686bc',
    500: '#c04fa0',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa0;
$custom-light: #d686bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa0",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 316.991,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.17189,
    "h": 340.1
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#C04FA0
secondary
#9DCEAB
accent
#D77751
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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