#C751A6#C751A6

#C751A6 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.178 H 340.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C751A6
RGBrgb(199, 81, 166)
HSLhsl(317, 51%, 55%)
HSVhsv(317, 59%, 78%)
CMYKcmyk(0%, 59.3%, 16.6%, 22%)
CIE-LABlab(52.71, 56.59, -22.74)
CIE-LCHlch(52.71, 60.99, 338.11°)
OKLaboklab(61.56% 0.1675 -0.0611)
OKLCHoklch(61.56% 0.178 340)
XYZxyz(33.3792, 20.7830, 38.3225)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751A6 #51C772
analogous
#AD51C7 #C751A6 #C7516B
triadic
#C751A6 #A6C751 #51A6C7
tetradic
#C751A6 #C7AD51 #51C772 #516BC7
square
#C751A6 #C7AD51 #51C772 #516BC7
split-complementary
#C751A6 #6BC751 #51C7AD
monochromatic
#772661 #A63586 #C751A6 #D67FBE #E5AED5

Accessibility & contrast

On white

4.07
#C751A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C751A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751A6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751A6#FFFFFF#000000##000000
##C751A61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#D25474
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c751a6;
/* rgb */ color: rgb(199, 81, 166);
/* oklch */ color: oklch(61.6% 0.178 340.0);
Tailwind
colors: {
  custom: {
    50: '#db88c0',
    500: '#c751a6',
    950: '#000000',
  },
}
SCSS
$custom: #c751a6;
$custom-light: #db88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c751a6",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 316.78,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.17833,
    "h": 340
  },
  "luminance": 0.2078
}

Semantic roles & 50–950 ramp

primary
#C751A6
secondary
#A1D3AF
accent
#DB754D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C751A6

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

Preview Lab → · Contrast checker → · Palette generator →

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