#C751AF#C751AF

#C751AF is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.185 H 336.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C751AF
RGBrgb(199, 81, 175)
HSLhsl(312, 51%, 55%)
HSVhsv(312, 59%, 78%)
CMYKcmyk(0%, 59.3%, 12.1%, 22%)
CIE-LABlab(53.09, 57.96, -27.42)
CIE-LCHlch(53.09, 64.12, 334.68°)
OKLaboklab(61.96% 0.1692 -0.0743)
OKLCHoklch(61.96% 0.185 336.3)
XYZxyz(34.2338, 21.1248, 42.8236)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751AF #51C769
analogous
#A451C7 #C751AF #C75174
triadic
#C751AF #AFC751 #51AFC7
tetradic
#C751AF #C7A451 #51C769 #5174C7
square
#C751AF #C7A451 #51C769 #5174C7
split-complementary
#C751AF #74C751 #51C7A4
monochromatic
#772667 #A6358F #C751AF #D67FC4 #E5AEDA

Accessibility & contrast

On white

4.02
#C751AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C751AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751AF#FFFFFF#000000##000000
##C751AF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#7785AC
Tritanopia (blue-blind)
#D05779
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751af;
/* rgb */ color: rgb(199, 81, 175);
/* oklch */ color: oklch(62.0% 0.185 336.3);
Tailwind
colors: {
  custom: {
    50: '#db88c7',
    500: '#c751af',
    950: '#000000',
  },
}
SCSS
$custom: #c751af;
$custom-light: #db88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c751af",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 312.203,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.18485,
    "h": 336.3
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#C751AF
secondary
#A1D3AB
accent
#DB6A4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751AF

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

Preview Lab → · Contrast checker → · Palette generator →

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