#C752A7#C752A7

#C752A7 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.178 H 339.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C752A7
RGBrgb(199, 82, 167)
HSLhsl(316, 51%, 55%)
HSVhsv(316, 59%, 78%)
CMYKcmyk(0%, 58.8%, 16.1%, 22%)
CIE-LABlab(52.92, 56.30, -23.01)
CIE-LCHlch(52.92, 60.82, 337.77°)
OKLaboklab(61.73% 0.1664 -0.0619)
OKLCHoklch(61.73% 0.178 339.6)
XYZxyz(33.5461, 20.9695, 38.8325)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752A7 #52C772
analogous
#AC52C7 #C752A7 #C7526D
triadic
#C752A7 #A7C752 #52A7C7
tetradic
#C752A7 #C7AC52 #52C772 #526DC7
square
#C752A7 #C7AC52 #52C772 #526DC7
split-complementary
#C752A7 #6DC752 #52C7AC
monochromatic
#782762 #A63687 #C752A7 #D680BF #E5AED6

Accessibility & contrast

On white

4.04
#C752A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C752A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752A7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752A7#FFFFFF#000000##000000
##C752A71.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D25575
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c752a7;
/* rgb */ color: rgb(199, 82, 167);
/* oklch */ color: oklch(61.7% 0.178 339.6);
Tailwind
colors: {
  custom: {
    50: '#db89c1',
    500: '#c752a7',
    950: '#000000',
  },
}
SCSS
$custom: #c752a7;
$custom-light: #db89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c752a7",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 316.41,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.17754,
    "h": 339.6
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#C752A7
secondary
#A2D3AF
accent
#DB744D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C752A7

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

Preview Lab → · Contrast checker → · Palette generator →

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