#C754A5#C754A5

#C754A5 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.173 H 340.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C754A5
RGBrgb(199, 84, 165)
HSLhsl(318, 51%, 55%)
HSVhsv(318, 58%, 78%)
CMYKcmyk(0%, 57.8%, 17.1%, 22%)
CIE-LABlab(53.17, 55.10, -21.45)
CIE-LCHlch(53.17, 59.12, 338.73°)
OKLaboklab(61.89% 0.1633 -0.0575)
OKLCHoklch(61.89% 0.173 340.6)
XYZxyz(33.5157, 21.2022, 37.9173)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754A5 #54C776
analogous
#AF54C7 #C754A5 #C7546B
triadic
#C754A5 #A5C754 #54A5C7
tetradic
#C754A5 #C7AF54 #54C776 #546BC7
square
#C754A5 #C7AF54 #54C776 #546BC7
split-complementary
#C754A5 #6BC754 #54C7AF
monochromatic
#792861 #A73786 #C754A5 #D682BD #E5B0D6

Accessibility & contrast

On white

4.01
#C754A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C754A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754A5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754A5#FFFFFF#000000##000000
##C754A51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A73A8
Deuteranopia (green-blind)
#7C86A2
Tritanopia (blue-blind)
#D25675
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c754a5;
/* rgb */ color: rgb(199, 84, 165);
/* oklch */ color: oklch(61.9% 0.173 340.6);
Tailwind
colors: {
  custom: {
    50: '#db8ac0',
    500: '#c754a5',
    950: '#000000',
  },
}
SCSS
$custom: #c754a5;
$custom-light: #db8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#c754a5",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 317.739,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61887,
    "c": 0.17312,
    "h": 340.6
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#C754A5
secondary
#A3D3B2
accent
#DA774E
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C754A5

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

Preview Lab → · Contrast checker → · Palette generator →

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