#C751AD#C751AD

#C751AD is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.183 H 337.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C751AD
RGBrgb(199, 81, 173)
HSLhsl(313, 51%, 55%)
HSVhsv(313, 59%, 78%)
CMYKcmyk(0%, 59.3%, 13.1%, 22%)
CIE-LABlab(53.00, 57.65, -26.39)
CIE-LCHlch(53.00, 63.41, 335.41°)
OKLaboklab(61.87% 0.1689 -0.0714)
OKLCHoklch(61.87% 0.183 337.1)
XYZxyz(34.0389, 21.0468, 41.7967)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751AD #51C76B
analogous
#A651C7 #C751AD #C75172
triadic
#C751AD #ADC751 #51ADC7
tetradic
#C751AD #C7A651 #51C76B #5172C7
square
#C751AD #C7A651 #51C76B #5172C7
split-complementary
#C751AD #72C751 #51C7A6
monochromatic
#772665 #A6358D #C751AD #D67FC3 #E5AED9

Accessibility & contrast

On white

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

On black

5.21
#C751AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751AD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751AD#FFFFFF#000000##000000
##C751AD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5473B0
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#D15678
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751ad;
/* rgb */ color: rgb(199, 81, 173);
/* oklch */ color: oklch(61.9% 0.183 337.1);
Tailwind
colors: {
  custom: {
    50: '#db88c5',
    500: '#c751ad',
    950: '#000000',
  },
}
SCSS
$custom: #c751ad;
$custom-light: #db88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c751ad",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 313.22,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.18337,
    "h": 337.1
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C751AD

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

Preview Lab → · Contrast checker → · Palette generator →

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