#C751AE#C751AE

#C751AE is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.184 H 336.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C751AE
RGBrgb(199, 81, 174)
HSLhsl(313, 51%, 55%)
HSVhsv(313, 59%, 78%)
CMYKcmyk(0%, 59.3%, 12.6%, 22%)
CIE-LABlab(53.04, 57.81, -26.90)
CIE-LCHlch(53.04, 63.76, 335.04°)
OKLaboklab(61.91% 0.1691 -0.0729)
OKLCHoklch(61.91% 0.184 336.7)
XYZxyz(34.1360, 21.0857, 42.3083)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751AE #51C76A
analogous
#A551C7 #C751AE #C75173
triadic
#C751AE #AEC751 #51AEC7
tetradic
#C751AE #C7A551 #51C76A #5173C7
square
#C751AE #C7A551 #51C76A #5173C7
split-complementary
#C751AE #73C751 #51C7A5
monochromatic
#772666 #A6358E #C751AE #D67FC4 #E5AED9

Accessibility & contrast

On white

4.03
#C751AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C751AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751AE#FFFFFF#000000##000000
##C751AE1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5373B1
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#D15778
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751ae;
/* rgb */ color: rgb(199, 81, 174);
/* oklch */ color: oklch(61.9% 0.184 336.7);
Tailwind
colors: {
  custom: {
    50: '#db88c6',
    500: '#c751ae',
    950: '#000000',
  },
}
SCSS
$custom: #c751ae;
$custom-light: #db88c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ae",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 312.712,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61914,
    "c": 0.18411,
    "h": 336.7
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#C751AE
secondary
#A1D3AC
accent
#DB6B4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751AE

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

Preview Lab → · Contrast checker → · Palette generator →

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