#C751AA#C751AA

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

Color values

HEX#C751AA
RGBrgb(199, 81, 170)
HSLhsl(315, 51%, 55%)
HSVhsv(315, 59%, 78%)
CMYKcmyk(0%, 59.3%, 14.6%, 22%)
CIE-LABlab(52.88, 57.20, -24.83)
CIE-LCHlch(52.88, 62.35, 336.53°)
OKLaboklab(61.74% 0.1683 -0.067)
OKLCHoklch(61.74% 0.181 338.3)
XYZxyz(33.7518, 20.9320, 40.2851)
Luminance0.2093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751AA #51C76E
analogous
#A951C7 #C751AA #C7516F
triadic
#C751AA #AAC751 #51AAC7
tetradic
#C751AA #C7A951 #51C76E #516FC7
square
#C751AA #C7A951 #51C76E #516FC7
split-complementary
#C751AA #6FC751 #51C7A9
monochromatic
#772663 #A6358A #C751AA #D67FC1 #E5AED7

Accessibility & contrast

On white

4.05
#C751AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751AA#FFFFFF#000000##000000
##C751AA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AD
Deuteranopia (green-blind)
#7885A7
Tritanopia (blue-blind)
#D15576
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c751aa;
/* rgb */ color: rgb(199, 81, 170);
/* oklch */ color: oklch(61.7% 0.181 338.3);
Tailwind
colors: {
  custom: {
    50: '#db88c3',
    500: '#c751aa',
    950: '#000000',
  },
}
SCSS
$custom: #c751aa;
$custom-light: #db88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c751aa",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 314.746,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61736,
    "c": 0.18118,
    "h": 338.3
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#C751AA
secondary
#A1D3AD
accent
#DB704D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C751AA

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

Preview Lab → · Contrast checker → · Palette generator →

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