#C831A1#C831A1

#C831A1 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.216 H 340.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C831A1
RGBrgb(200, 49, 161)
HSLhsl(315, 61%, 49%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 75.5%, 19.5%, 21.6%)
CIE-LABlab(48.33, 68.20, -26.55)
CIE-LCHlch(48.33, 73.19, 338.73°)
OKLaboklab(58.32% 0.204 -0.0716)
OKLCHoklch(58.32% 0.216 340.7)
XYZxyz(31.3517, 17.0524, 35.3516)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A1 #31C858
analogous
#A431C8 #C831A1 #C83155
triadic
#C831A1 #A1C831 #31A1C8
tetradic
#C831A1 #C8A431 #31C858 #3155C8
square
#C831A1 #C8A431 #31C858 #3155C8
split-complementary
#C831A1 #55C831 #31C8A4
monochromatic
#661952 #972579 #C831A1 #D85FB8 #E490CE

Accessibility & contrast

On white

4.76
#C831A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C831A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A1#FFFFFF#000000##FFFFFF
##C831A11.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D63A4
Deuteranopia (green-blind)
#6E7B9E
Tritanopia (blue-blind)
#D43566
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a1;
/* rgb */ color: rgb(200, 49, 161);
/* oklch */ color: oklch(58.3% 0.216 340.7);
Tailwind
colors: {
  custom: {
    50: '#dd79bd',
    500: '#c831a1',
    950: '#000000',
  },
}
SCSS
$custom: #c831a1;
$custom-light: #dd79bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a1",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 315.497,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.21622,
    "h": 340.7
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#C831A1
secondary
#86CE99
accent
#E46D44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C831A1

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

Preview Lab → · Contrast checker → · Palette generator →

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