#C831A5#C831A5

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

Color values

HEX#C831A5
RGBrgb(200, 49, 165)
HSLhsl(314, 61%, 49%)
HSVhsv(314, 76%, 78%)
CMYKcmyk(0%, 75.5%, 17.5%, 21.6%)
CIE-LABlab(48.51, 68.74, -28.65)
CIE-LCHlch(48.51, 74.47, 337.38°)
OKLaboklab(58.51% 0.2045 -0.0775)
OKLCHoklch(58.51% 0.219 339.2)
XYZxyz(31.7101, 17.1957, 37.2391)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A5 #31C854
analogous
#A031C8 #C831A5 #C8315A
triadic
#C831A5 #A5C831 #31A5C8
tetradic
#C831A5 #C8A031 #31C854 #315AC8
square
#C831A5 #C8A031 #31C854 #315AC8
split-complementary
#C831A5 #5AC831 #31C8A0
monochromatic
#661954 #97257C #C831A5 #D85FBC #E490D0

Accessibility & contrast

On white

4.73
#C831A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C831A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A5#FFFFFF#000000##FFFFFF
##C831A51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#6D7CA2
Tritanopia (blue-blind)
#D43768
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a5;
/* rgb */ color: rgb(200, 49, 165);
/* oklch */ color: oklch(58.5% 0.219 339.2);
Tailwind
colors: {
  custom: {
    50: '#dd79c0',
    500: '#c831a5',
    950: '#000000',
  },
}
SCSS
$custom: #c831a5;
$custom-light: #dd79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a5",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 313.907,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.21875,
    "h": 339.2
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C831A5

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

Preview Lab → · Contrast checker → · Palette generator →

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