#C751A7#C751A7

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

Color values

HEX#C751A7
RGBrgb(199, 81, 167)
HSLhsl(316, 51%, 55%)
HSVhsv(316, 59%, 78%)
CMYKcmyk(0%, 59.3%, 16.1%, 22%)
CIE-LABlab(52.75, 56.74, -23.26)
CIE-LCHlch(52.75, 61.33, 337.71°)
OKLaboklab(61.61% 0.1677 -0.0626)
OKLCHoklch(61.61% 0.179 339.5)
XYZxyz(33.4713, 20.8198, 38.8075)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751A7 #51C771
analogous
#AC51C7 #C751A7 #C7516C
triadic
#C751A7 #A7C751 #51A7C7
tetradic
#C751A7 #C7AC51 #51C771 #516CC7
square
#C751A7 #C7AC51 #51C771 #516CC7
split-complementary
#C751A7 #6CC751 #51C7AC
monochromatic
#772661 #A63587 #C751A7 #D67FBE #E5AED6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751A7#FFFFFF#000000##000000
##C751A71.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)
#5772AA
Deuteranopia (green-blind)
#7985A4
Tritanopia (blue-blind)
#D25475
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c751a7;
/* rgb */ color: rgb(199, 81, 167);
/* oklch */ color: oklch(61.6% 0.179 339.5);
Tailwind
colors: {
  custom: {
    50: '#db88c1',
    500: '#c751a7',
    950: '#000000',
  },
}
SCSS
$custom: #c751a7;
$custom-light: #db88c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c751a7",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 316.271,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.17904,
    "h": 339.5
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C751A7

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

Preview Lab → · Contrast checker → · Palette generator →

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