#C751A5#C751A5

#C751A5 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.178 H 340.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C751A5
RGBrgb(199, 81, 165)
HSLhsl(317, 51%, 55%)
HSVhsv(317, 59%, 78%)
CMYKcmyk(0%, 59.3%, 17.1%, 22%)
CIE-LABlab(52.67, 56.45, -22.22)
CIE-LCHlch(52.67, 60.66, 338.52°)
OKLaboklab(61.52% 0.1673 -0.0597)
OKLCHoklch(61.52% 0.178 340.4)
XYZxyz(33.2878, 20.7464, 37.8413)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751A5 #51C773
analogous
#AE51C7 #C751A5 #C7516A
triadic
#C751A5 #A5C751 #51A5C7
tetradic
#C751A5 #C7AE51 #51C773 #516AC7
square
#C751A5 #C7AE51 #51C773 #516AC7
split-complementary
#C751A5 #6AC751 #51C7AE
monochromatic
#772660 #A63585 #C751A5 #D67FBD #E5AED5

Accessibility & contrast

On white

4.08
#C751A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C751A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751A5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751A5#FFFFFF#000000##000000
##C751A51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#7A85A2
Tritanopia (blue-blind)
#D25374
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c751a5;
/* rgb */ color: rgb(199, 81, 165);
/* oklch */ color: oklch(61.5% 0.178 340.4);
Tailwind
colors: {
  custom: {
    50: '#db88c0',
    500: '#c751a5',
    950: '#000000',
  },
}
SCSS
$custom: #c751a5;
$custom-light: #db88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c751a5",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 317.288,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61519,
    "c": 0.17764,
    "h": 340.4
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C751A5

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

Preview Lab → · Contrast checker → · Palette generator →

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