#C8528C#C8528C

#C8528C is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.162 H 352.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C8528C
RGBrgb(200, 82, 140)
HSLhsl(331, 52%, 55%)
HSVhsv(331, 59%, 78%)
CMYKcmyk(0%, 59%, 30%, 21.6%)
CIE-LABlab(52.07, 52.85, -8.35)
CIE-LCHlch(52.07, 53.51, 351.02°)
OKLaboklab(60.81% 0.1606 -0.0215)
OKLCHoklch(60.81% 0.162 352.4)
XYZxyz(31.5718, 20.2105, 27.0442)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8528C #52C88E
analogous
#C852C7 #C8528C #C85352
triadic
#C8528C #8CC852 #528CC8
tetradic
#C8528C #C7C852 #52C88E #5352C8
square
#C8528C #C7C852 #52C88E #5352C8
split-complementary
#C8528C #52C853 #52C7C8
monochromatic
#79274F #A8356D #C8528C #D780AB #E6AFCA

Accessibility & contrast

On white

4.17
#C8528C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C8528C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C8528C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8528C#FFFFFF#000000##000000
##C8528C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8E
Deuteranopia (green-blind)
#828489
Tritanopia (blue-blind)
#D64C69
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c8528c;
/* rgb */ color: rgb(200, 82, 140);
/* oklch */ color: oklch(60.8% 0.162 352.4);
Tailwind
colors: {
  custom: {
    50: '#dc88ad',
    500: '#c8528c',
    950: '#000000',
  },
}
SCSS
$custom: #c8528c;
$custom-light: #dc88ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c8528c",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 330.508,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.16199,
    "h": 352.4
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#C8528C
secondary
#A2D4BB
accent
#DB954D
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150C10
muted
#837D7F

Preview Lab

Preview with #C8528C

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

Preview Lab → · Contrast checker → · Palette generator →

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