#C04FA7#C04FA7

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

Color values

HEX#C04FA7
RGBrgb(192, 79, 167)
HSLhsl(313, 47%, 53%)
HSVhsv(313, 59%, 75%)
CMYKcmyk(0%, 58.9%, 13%, 24.7%)
CIE-LABlab(51.37, 55.65, -25.48)
CIE-LCHlch(51.37, 61.21, 335.40°)
OKLaboklab(60.38% 0.163 -0.0689)
OKLCHoklch(60.38% 0.177 337.1)
XYZxyz(31.5096, 19.5910, 38.6736)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA7 #4FC068
analogous
#A04FC0 #C04FA7 #C04F6F
triadic
#C04FA7 #A7C04F #4FA7C0
tetradic
#C04FA7 #C0A04F #4FC068 #4F6FC0
square
#C04FA7 #C0A04F #4FC068 #4F6FC0
split-complementary
#C04FA7 #6FC04F #4FC0A0
monochromatic
#6D275E #9A3785 #C04FA7 #D07CBE #E0A9D4

Accessibility & contrast

On white

4.27
#C04FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C04FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA7#FFFFFF#000000##000000
##C04FA71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FAA
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#C95474
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa7;
/* rgb */ color: rgb(192, 79, 167);
/* oklch */ color: oklch(60.4% 0.177 337.1);
Tailwind
colors: {
  custom: {
    50: '#d686c1',
    500: '#c04fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa7;
$custom-light: #d686c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa7",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 313.274,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.17696,
    "h": 337.1
  },
  "luminance": 0.19588
}

Semantic roles & 50–950 ramp

primary
#C04FA7
secondary
#9DCEA8
accent
#D76F51
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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