#C831AE#C831AE

#C831AE is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 59.0% C 0.225 H 336.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C831AE
RGBrgb(200, 49, 174)
HSLhsl(310, 61%, 49%)
HSVhsv(310, 76%, 78%)
CMYKcmyk(0%, 75.5%, 13%, 21.6%)
CIE-LABlab(48.93, 69.99, -33.30)
CIE-LCHlch(48.93, 77.51, 334.55°)
OKLaboklab(58.95% 0.2055 -0.0908)
OKLCHoklch(58.95% 0.225 336.1)
XYZxyz(32.5583, 17.5350, 41.7061)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831AE #31C84B
analogous
#9731C8 #C831AE #C83163
triadic
#C831AE #AEC831 #31AEC8
tetradic
#C831AE #C89731 #31C84B #3163C8
square
#C831AE #C89731 #31C84B #3163C8
split-complementary
#C831AE #63C831 #31C897
monochromatic
#661958 #972583 #C831AE #D85FC3 #E490D5

Accessibility & contrast

On white

4.66
#C831AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C831AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C831AE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831AE#FFFFFF#000000##FFFFFF
##C831AE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B1
Deuteranopia (green-blind)
#697CAA
Tritanopia (blue-blind)
#D23C6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c831ae;
/* rgb */ color: rgb(200, 49, 174);
/* oklch */ color: oklch(59.0% 0.225 336.1);
Tailwind
colors: {
  custom: {
    50: '#dd79c6',
    500: '#c831ae',
    950: '#000000',
  },
}
SCSS
$custom: #c831ae;
$custom-light: #dd79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c831ae",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 310.331,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58952,
    "c": 0.22465,
    "h": 336.1
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#C831AE
secondary
#86CE93
accent
#E46044
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831AE

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

Preview Lab → · Contrast checker → · Palette generator →

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