#C751A2#C751A2

#C751A2 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.176 H 341.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C751A2
RGBrgb(199, 81, 162)
HSLhsl(319, 51%, 55%)
HSVhsv(319, 59%, 78%)
CMYKcmyk(0%, 59.3%, 18.6%, 22%)
CIE-LABlab(52.55, 56.00, -20.64)
CIE-LCHlch(52.55, 59.69, 339.77°)
OKLaboklab(61.39% 0.1667 -0.0552)
OKLCHoklch(61.39% 0.176 341.7)
XYZxyz(33.0180, 20.6385, 36.4201)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751A2 #51C776
analogous
#B151C7 #C751A2 #C75167
triadic
#C751A2 #A2C751 #51A2C7
tetradic
#C751A2 #C7B151 #51C776 #5167C7
square
#C751A2 #C7B151 #51C776 #5167C7
split-complementary
#C751A2 #67C751 #51C7B1
monochromatic
#77265E #A63582 #C751A2 #D67FBB #E5AED3

Accessibility & contrast

On white

4.10
#C751A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C751A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C751A2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C751A2#FFFFFF#000000##000000
##C751A21.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#D25272
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c751a2;
/* rgb */ color: rgb(199, 81, 162);
/* oklch */ color: oklch(61.4% 0.176 341.7);
Tailwind
colors: {
  custom: {
    50: '#db88bd',
    500: '#c751a2',
    950: '#000000',
  },
}
SCSS
$custom: #c751a2;
$custom-light: #db88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c751a2",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 318.814,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.17559,
    "h": 341.7
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#C751A2
secondary
#A1D3B1
accent
#DB794D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C751A2

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

Preview Lab → · Contrast checker → · Palette generator →

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