#C751B2#C751B2

#C751B2 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.1% C 0.187 H 335.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C751B2
RGBrgb(199, 81, 178)
HSLhsl(311, 51%, 55%)
HSVhsv(311, 59%, 78%)
CMYKcmyk(0%, 59.3%, 10.6%, 22%)
CIE-LABlab(53.22, 58.43, -28.96)
CIE-LCHlch(53.22, 65.22, 333.63°)
OKLaboklab(62.1% 0.1698 -0.0787)
OKLCHoklch(62.1% 0.187 335.1)
XYZxyz(34.5317, 21.2440, 44.3926)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751B2 #51C766
analogous
#A151C7 #C751B2 #C75177
triadic
#C751B2 #B2C751 #51B2C7
tetradic
#C751B2 #C7A151 #51C766 #5177C7
square
#C751B2 #C7A151 #51C766 #5177C7
split-complementary
#C751B2 #77C751 #51C7A1
monochromatic
#772669 #A63592 #C751B2 #D67FC6 #E5AEDB

Accessibility & contrast

On white

4.00
#C751B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C751B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751B2#FFFFFF#000000##000000
##C751B21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D0587A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751b2;
/* rgb */ color: rgb(199, 81, 178);
/* oklch */ color: oklch(62.1% 0.187 335.1);
Tailwind
colors: {
  custom: {
    50: '#db88c9',
    500: '#c751b2',
    950: '#000000',
  },
}
SCSS
$custom: #c751b2;
$custom-light: #db88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c751b2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 310.678,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.18712,
    "h": 335.1
  },
  "luminance": 0.21241
}

Semantic roles & 50–950 ramp

primary
#C751B2
secondary
#A1D3AA
accent
#DB664D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751B2

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

Preview Lab → · Contrast checker → · Palette generator →

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