#C831A3#C831A3

#C831A3 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.217 H 339.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C831A3
RGBrgb(200, 49, 163)
HSLhsl(315, 61%, 49%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 75.5%, 18.5%, 21.6%)
CIE-LABlab(48.42, 68.47, -27.60)
CIE-LCHlch(48.42, 73.82, 338.04°)
OKLaboklab(58.42% 0.2043 -0.0746)
OKLCHoklch(58.42% 0.217 339.9)
XYZxyz(31.5295, 17.1235, 36.2879)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A3 #31C856
analogous
#A231C8 #C831A3 #C83158
triadic
#C831A3 #A3C831 #31A3C8
tetradic
#C831A3 #C8A231 #31C856 #3158C8
square
#C831A3 #C8A231 #31C856 #3158C8
split-complementary
#C831A3 #58C831 #31C8A2
monochromatic
#661953 #97257B #C831A3 #D85FBA #E490CF

Accessibility & contrast

On white

4.75
#C831A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C831A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A3#FFFFFF#000000##FFFFFF
##C831A31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#6E7BA0
Tritanopia (blue-blind)
#D43667
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a3;
/* rgb */ color: rgb(200, 49, 163);
/* oklch */ color: oklch(58.4% 0.217 339.9);
Tailwind
colors: {
  custom: {
    50: '#dd79be',
    500: '#c831a3',
    950: '#000000',
  },
}
SCSS
$custom: #c831a3;
$custom-light: #dd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a3",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 314.702,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.21748,
    "h": 339.9
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C831A3

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

Preview Lab → · Contrast checker → · Palette generator →

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