#C751AB#C751AB

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

Color values

HEX#C751AB
RGBrgb(199, 81, 171)
HSLhsl(314, 51%, 55%)
HSVhsv(314, 59%, 78%)
CMYKcmyk(0%, 59.3%, 14.1%, 22%)
CIE-LABlab(52.92, 57.35, -25.35)
CIE-LCHlch(52.92, 62.70, 336.15°)
OKLaboklab(61.78% 0.1685 -0.0685)
OKLCHoklch(61.78% 0.182 337.9)
XYZxyz(33.8468, 20.9700, 40.7852)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751AB #51C76D
analogous
#A851C7 #C751AB #C75170
triadic
#C751AB #ABC751 #51ABC7
tetradic
#C751AB #C7A851 #51C76D #5170C7
square
#C751AB #C7A851 #51C76D #5170C7
split-complementary
#C751AB #70C751 #51C7A8
monochromatic
#772664 #A6358B #C751AB #D67FC1 #E5AED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751AB#FFFFFF#000000##000000
##C751AB1.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)
#5573AE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#D15577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c751ab;
/* rgb */ color: rgb(199, 81, 171);
/* oklch */ color: oklch(61.8% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#db88c4',
    500: '#c751ab',
    950: '#000000',
  },
}
SCSS
$custom: #c751ab;
$custom-light: #db88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ab",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 314.237,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.1819,
    "h": 337.9
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C751AB

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

Preview Lab → · Contrast checker → · Palette generator →

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