#C754A7#C754A7

#C754A7 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.175 H 339.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C754A7
RGBrgb(199, 84, 167)
HSLhsl(317, 51%, 55%)
HSVhsv(317, 58%, 78%)
CMYKcmyk(0%, 57.8%, 16.1%, 22%)
CIE-LABlab(53.25, 55.40, -22.50)
CIE-LCHlch(53.25, 59.79, 337.90°)
OKLaboklab(61.97% 0.1637 -0.0605)
OKLCHoklch(61.97% 0.175 339.7)
XYZxyz(33.6992, 21.2756, 38.8835)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754A7 #54C774
analogous
#AE54C7 #C754A7 #C7546D
triadic
#C754A7 #A7C754 #54A7C7
tetradic
#C754A7 #C7AE54 #54C774 #546DC7
square
#C754A7 #C7AE54 #54C774 #546DC7
split-complementary
#C754A7 #6DC754 #54C7AE
monochromatic
#792862 #A73788 #C754A7 #D682BF #E5B0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C754A7#FFFFFF#000000##000000
##C754A71.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)
#5A74AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#D25776
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c754a7;
/* rgb */ color: rgb(199, 84, 167);
/* oklch */ color: oklch(62.0% 0.175 339.7);
Tailwind
colors: {
  custom: {
    50: '#db8ac1',
    500: '#c754a7',
    950: '#000000',
  },
}
SCSS
$custom: #c754a7;
$custom-light: #db8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#c754a7",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 316.696,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61972,
    "c": 0.17452,
    "h": 339.7
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#C754A7
secondary
#A3D3B1
accent
#DA754E
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C754A7

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

Preview Lab → · Contrast checker → · Palette generator →

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