#C04FA3#C04FA3

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

Color values

HEX#C04FA3
RGBrgb(192, 79, 163)
HSLhsl(315, 47%, 53%)
HSVhsv(315, 59%, 75%)
CMYKcmyk(0%, 58.9%, 15.1%, 24.7%)
CIE-LABlab(51.20, 55.04, -23.39)
CIE-LCHlch(51.20, 59.80, 336.98°)
OKLaboklab(60.2% 0.1622 -0.063)
OKLCHoklch(60.2% 0.174 338.8)
XYZxyz(31.1456, 19.4453, 36.7562)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA3 #4FC06C
analogous
#A44FC0 #C04FA3 #C04F6A
triadic
#C04FA3 #A3C04F #4FA3C0
tetradic
#C04FA3 #C0A44F #4FC06C #4F6AC0
square
#C04FA3 #C0A44F #4FC06C #4F6AC0
split-complementary
#C04FA3 #6AC04F #4FC0A4
monochromatic
#6D275B #9A3781 #C04FA3 #D07CBB #E0A9D2

Accessibility & contrast

On white

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

On black

4.89
#C04FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA3#FFFFFF#000000##000000
##C04FA31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA6
Deuteranopia (green-blind)
#7580A0
Tritanopia (blue-blind)
#CA5372
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa3;
/* rgb */ color: rgb(192, 79, 163);
/* oklch */ color: oklch(60.2% 0.174 338.8);
Tailwind
colors: {
  custom: {
    50: '#d686be',
    500: '#c04fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa3;
$custom-light: #d686be;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa3",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 315.398,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60202,
    "c": 0.17403,
    "h": 338.8
  },
  "luminance": 0.19443
}

Semantic roles & 50–950 ramp

primary
#C04FA3
secondary
#9DCEAA
accent
#D77351
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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