#C04FA2#C04FA2

#C04FA2 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.173 H 339.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C04FA2
RGBrgb(192, 79, 162)
HSLhsl(316, 47%, 53%)
HSVhsv(316, 59%, 75%)
CMYKcmyk(0%, 58.9%, 15.6%, 24.7%)
CIE-LABlab(51.16, 54.89, -22.86)
CIE-LCHlch(51.16, 59.46, 337.39°)
OKLaboklab(60.16% 0.162 -0.0616)
OKLCHoklch(60.16% 0.173 339.2)
XYZxyz(31.0563, 19.4096, 36.2862)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA2 #4FC06D
analogous
#A54FC0 #C04FA2 #C04F69
triadic
#C04FA2 #A2C04F #4FA2C0
tetradic
#C04FA2 #C0A54F #4FC06D #4F69C0
square
#C04FA2 #C0A54F #4FC06D #4F69C0
split-complementary
#C04FA2 #69C04F #4FC0A5
monochromatic
#6D275B #9A3780 #C04FA2 #D07CBA #E0A9D2

Accessibility & contrast

On white

4.30
#C04FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C04FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA2#FFFFFF#000000##000000
##C04FA21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#CA5271
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa2;
/* rgb */ color: rgb(192, 79, 162);
/* oklch */ color: oklch(60.2% 0.173 339.2);
Tailwind
colors: {
  custom: {
    50: '#d686bd',
    500: '#c04fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa2;
$custom-light: #d686bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa2",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 315.929,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.1733,
    "h": 339.2
  },
  "luminance": 0.19407
}

Semantic roles & 50–950 ramp

primary
#C04FA2
secondary
#9DCEAA
accent
#D77451
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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