#C754B2#C754B2

#C754B2 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.183 H 335.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C754B2
RGBrgb(199, 84, 178)
HSLhsl(311, 51%, 55%)
HSVhsv(311, 58%, 78%)
CMYKcmyk(0%, 57.8%, 10.6%, 22%)
CIE-LABlab(53.71, 57.10, -28.20)
CIE-LCHlch(53.71, 63.68, 333.71°)
OKLaboklab(62.46% 0.1658 -0.0766)
OKLCHoklch(62.46% 0.183 335.2)
XYZxyz(34.7596, 21.6997, 44.4686)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754B2 #54C769
analogous
#A354C7 #C754B2 #C75478
triadic
#C754B2 #B2C754 #54B2C7
tetradic
#C754B2 #C7A354 #54C769 #5478C7
square
#C754B2 #C7A354 #54C769 #5478C7
split-complementary
#C754B2 #78C754 #54C7A3
monochromatic
#79286A #A73793 #C754B2 #D682C7 #E5B0DC

Accessibility & contrast

On white

3.93
#C754B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C754B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754B2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754B2#FFFFFF#000000##000000
##C754B21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#7787AF
Tritanopia (blue-blind)
#D05B7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c754b2;
/* rgb */ color: rgb(199, 84, 178);
/* oklch */ color: oklch(62.5% 0.183 335.2);
Tailwind
colors: {
  custom: {
    50: '#db8ac9',
    500: '#c754b2',
    950: '#000000',
  },
}
SCSS
$custom: #c754b2;
$custom-light: #db8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c754b2",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 310.957,
    "s": 50.661,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62458,
    "c": 0.18266,
    "h": 335.2
  },
  "luminance": 0.21697
}

Semantic roles & 50–950 ramp

primary
#C754B2
secondary
#A3D3AC
accent
#DA674E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C754B2

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

Preview Lab → · Contrast checker → · Palette generator →

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