#C831AC#C831AC

#C831AC is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.9% C 0.223 H 336.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C831AC
RGBrgb(200, 49, 172)
HSLhsl(311, 61%, 49%)
HSVhsv(311, 76%, 78%)
CMYKcmyk(0%, 75.5%, 14%, 21.6%)
CIE-LABlab(48.83, 69.71, -32.28)
CIE-LCHlch(48.83, 76.82, 335.15°)
OKLaboklab(58.85% 0.2053 -0.0879)
OKLCHoklch(58.85% 0.223 336.8)
XYZxyz(32.3647, 17.4576, 40.6869)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831AC #31C84D
analogous
#9931C8 #C831AC #C83161
triadic
#C831AC #ACC831 #31ACC8
tetradic
#C831AC #C89931 #31C84D #3161C8
square
#C831AC #C89931 #31C84D #3161C8
split-complementary
#C831AC #61C831 #31C899
monochromatic
#661957 #972582 #C831AC #D85FC1 #E490D4

Accessibility & contrast

On white

4.68
#C831AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C831AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831AC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831AC#FFFFFF#000000##FFFFFF
##C831AC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#6A7CA9
Tritanopia (blue-blind)
#D33B6C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c831ac;
/* rgb */ color: rgb(200, 49, 172);
/* oklch */ color: oklch(58.9% 0.223 336.8);
Tailwind
colors: {
  custom: {
    50: '#dd79c5',
    500: '#c831ac',
    950: '#000000',
  },
}
SCSS
$custom: #c831ac;
$custom-light: #dd79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c831ac",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 311.126,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58852,
    "c": 0.22332,
    "h": 336.8
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#C831AC
secondary
#86CE94
accent
#E46244
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C831AC

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

Preview Lab → · Contrast checker → · Palette generator →

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