#C831A6#C831A6

#C831A6 is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.219 H 338.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C831A6
RGBrgb(200, 49, 166)
HSLhsl(314, 61%, 49%)
HSVhsv(314, 76%, 78%)
CMYKcmyk(0%, 75.5%, 17%, 21.6%)
CIE-LABlab(48.55, 68.88, -29.17)
CIE-LCHlch(48.55, 74.80, 337.05°)
OKLaboklab(58.56% 0.2047 -0.079)
OKLCHoklch(58.56% 0.219 338.9)
XYZxyz(31.8015, 17.2323, 37.7203)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A6 #31C853
analogous
#9F31C8 #C831A6 #C8315B
triadic
#C831A6 #A6C831 #31A6C8
tetradic
#C831A6 #C89F31 #31C853 #315BC8
square
#C831A6 #C89F31 #31C853 #315BC8
split-complementary
#C831A6 #5BC831 #31C89F
monochromatic
#661954 #97257D #C831A6 #D85FBC #E490D1

Accessibility & contrast

On white

4.72
#C831A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C831A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A6#FFFFFF#000000##FFFFFF
##C831A61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A9
Deuteranopia (green-blind)
#6D7CA3
Tritanopia (blue-blind)
#D33869
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a6;
/* rgb */ color: rgb(200, 49, 166);
/* oklch */ color: oklch(58.6% 0.219 338.9);
Tailwind
colors: {
  custom: {
    50: '#dd79c0',
    500: '#c831a6',
    950: '#000000',
  },
}
SCSS
$custom: #c831a6;
$custom-light: #dd79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a6",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 313.51,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.21939,
    "h": 338.9
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#C831A6
secondary
#86CE97
accent
#E46844
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C831A6

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

Preview Lab → · Contrast checker → · Palette generator →

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