#C831A4#C831A4

#C831A4 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.5% C 0.218 H 339.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C831A4
RGBrgb(200, 49, 164)
HSLhsl(314, 61%, 49%)
HSVhsv(314, 76%, 78%)
CMYKcmyk(0%, 75.5%, 18%, 21.6%)
CIE-LABlab(48.46, 68.60, -28.13)
CIE-LCHlch(48.46, 74.15, 337.71°)
OKLaboklab(58.46% 0.2044 -0.0761)
OKLCHoklch(58.46% 0.218 339.6)
XYZxyz(31.6194, 17.1595, 36.7616)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A4 #31C855
analogous
#A131C8 #C831A4 #C83158
triadic
#C831A4 #A4C831 #31A4C8
tetradic
#C831A4 #C8A131 #31C855 #3158C8
square
#C831A4 #C8A131 #31C855 #3158C8
split-complementary
#C831A4 #58C831 #31C8A1
monochromatic
#661953 #97257C #C831A4 #D85FBB #E490D0

Accessibility & contrast

On white

4.74
#C831A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C831A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A4#FFFFFF#000000##FFFFFF
##C831A41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A7
Deuteranopia (green-blind)
#6D7CA1
Tritanopia (blue-blind)
#D43767
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a4;
/* rgb */ color: rgb(200, 49, 164);
/* oklch */ color: oklch(58.5% 0.218 339.6);
Tailwind
colors: {
  custom: {
    50: '#dd79bf',
    500: '#c831a4',
    950: '#000000',
  },
}
SCSS
$custom: #c831a4;
$custom-light: #dd79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a4",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 314.305,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.21812,
    "h": 339.6
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#C831A4
secondary
#86CE98
accent
#E46A44
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C831A4

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

Preview Lab → · Contrast checker → · Palette generator →

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