#C831AB#C831AB

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

Color values

HEX#C831AB
RGBrgb(200, 49, 171)
HSLhsl(312, 61%, 49%)
HSVhsv(312, 76%, 78%)
CMYKcmyk(0%, 75.5%, 14.5%, 21.6%)
CIE-LABlab(48.78, 69.57, -31.76)
CIE-LCHlch(48.78, 76.47, 335.46°)
OKLaboklab(58.8% 0.2052 -0.0864)
OKLCHoklch(58.8% 0.223 337.2)
XYZxyz(32.2691, 17.4193, 40.1830)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831AB #31C84E
analogous
#9A31C8 #C831AB #C83160
triadic
#C831AB #ABC831 #31ABC8
tetradic
#C831AB #C89A31 #31C84E #3160C8
square
#C831AB #C89A31 #31C84E #3160C8
split-complementary
#C831AB #60C831 #31C89A
monochromatic
#661957 #972581 #C831AB #D85FC0 #E490D4

Accessibility & contrast

On white

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

On black

4.48
#C831AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C831AB#FFFFFF#000000##FFFFFF
##C831AB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#D33B6B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c831ab;
/* rgb */ color: rgb(200, 49, 171);
/* oklch */ color: oklch(58.8% 0.223 337.2);
Tailwind
colors: {
  custom: {
    50: '#dd79c4',
    500: '#c831ab',
    950: '#000000',
  },
}
SCSS
$custom: #c831ab;
$custom-light: #dd79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c831ab",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 311.523,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.22265,
    "h": 337.2
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#C831AB
secondary
#86CE94
accent
#E46344
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C831AB

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

Preview Lab → · Contrast checker → · Palette generator →

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