#C751B3#C751B3

#C751B3 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.188 H 334.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C751B3
RGBrgb(199, 81, 179)
HSLhsl(310, 51%, 55%)
HSVhsv(310, 59%, 78%)
CMYKcmyk(0%, 59.3%, 10.1%, 22%)
CIE-LABlab(53.26, 58.59, -29.48)
CIE-LCHlch(53.26, 65.59, 333.29°)
OKLaboklab(62.14% 0.1699 -0.0802)
OKLCHoklch(62.14% 0.188 334.7)
XYZxyz(34.6325, 21.2843, 44.9233)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751B3 #51C765
analogous
#A051C7 #C751B3 #C75178
triadic
#C751B3 #B3C751 #51B3C7
tetradic
#C751B3 #C7A051 #51C765 #5178C7
square
#C751B3 #C7A051 #51C765 #5178C7
split-complementary
#C751B3 #78C751 #51C7A0
monochromatic
#77266A #A63593 #C751B3 #D67FC7 #E5AEDB

Accessibility & contrast

On white

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

On black

5.26
#C751B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751B3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751B3#FFFFFF#000000##000000
##C751B31.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5074B6
Deuteranopia (green-blind)
#7586B0
Tritanopia (blue-blind)
#D0587B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c751b3;
/* rgb */ color: rgb(199, 81, 179);
/* oklch */ color: oklch(62.1% 0.188 334.7);
Tailwind
colors: {
  custom: {
    50: '#db88ca',
    500: '#c751b3',
    950: '#000000',
  },
}
SCSS
$custom: #c751b3;
$custom-light: #db88ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c751b3",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 310.169,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.18788,
    "h": 334.7
  },
  "luminance": 0.21282
}

Semantic roles & 50–950 ramp

primary
#C751B3
secondary
#A1D3A9
accent
#DB654D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C751B3

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

Preview Lab → · Contrast checker → · Palette generator →

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