#C751A3#C751A3

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

Color values

HEX#C751A3
RGBrgb(199, 81, 163)
HSLhsl(318, 51%, 55%)
HSVhsv(318, 59%, 78%)
CMYKcmyk(0%, 59.3%, 18.1%, 22%)
CIE-LABlab(52.59, 56.15, -21.17)
CIE-LCHlch(52.59, 60.01, 339.35°)
OKLaboklab(61.43% 0.1669 -0.0567)
OKLCHoklch(61.43% 0.176 341.2)
XYZxyz(33.1072, 20.6742, 36.8901)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C751A3 #51C775
analogous
#B051C7 #C751A3 #C75168
triadic
#C751A3 #A3C751 #51A3C7
tetradic
#C751A3 #C7B051 #51C775 #5168C7
square
#C751A3 #C7B051 #51C775 #5168C7
split-complementary
#C751A3 #68C751 #51C7B0
monochromatic
#77265F #A63583 #C751A3 #D67FBB #E5AED4

Accessibility & contrast

On white

4.09
#C751A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C751A3#FFFFFF#000000##000000
##C751A31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A6
Deuteranopia (green-blind)
#7B85A0
Tritanopia (blue-blind)
#D25373
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c751a3;
/* rgb */ color: rgb(199, 81, 163);
/* oklch */ color: oklch(61.4% 0.176 341.2);
Tailwind
colors: {
  custom: {
    50: '#db88be',
    500: '#c751a3',
    950: '#000000',
  },
}
SCSS
$custom: #c751a3;
$custom-light: #db88be;
$custom-dark: #000000;
JSON
{
  "hex": "#c751a3",
  "rgb": {
    "r": 199,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 318.305,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61434,
    "c": 0.17626,
    "h": 341.2
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#C751A3
secondary
#A1D3B0
accent
#DB784D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C751A3

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

Preview Lab → · Contrast checker → · Palette generator →

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