#C831A2#C831A2

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

Color values

HEX#C831A2
RGBrgb(200, 49, 162)
HSLhsl(315, 61%, 49%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 75.5%, 19%, 21.6%)
CIE-LABlab(48.37, 68.34, -27.08)
CIE-LCHlch(48.37, 73.51, 338.38°)
OKLaboklab(58.37% 0.2042 -0.0731)
OKLCHoklch(58.37% 0.217 340.3)
XYZxyz(31.4402, 17.0878, 35.8179)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A2 #31C857
analogous
#A331C8 #C831A2 #C83157
triadic
#C831A2 #A2C831 #31A2C8
tetradic
#C831A2 #C8A331 #31C857 #3157C8
square
#C831A2 #C8A331 #31C857 #3157C8
split-complementary
#C831A2 #57C831 #31C8A3
monochromatic
#661952 #97257A #C831A2 #D85FB9 #E490CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C831A2#FFFFFF#000000##FFFFFF
##C831A21.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)
#3D64A5
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#D43666
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a2;
/* rgb */ color: rgb(200, 49, 162);
/* oklch */ color: oklch(58.4% 0.217 340.3);
Tailwind
colors: {
  custom: {
    50: '#dd79be',
    500: '#c831a2',
    950: '#000000',
  },
}
SCSS
$custom: #c831a2;
$custom-light: #dd79be;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a2",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 315.099,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.21685,
    "h": 340.3
  },
  "luminance": 0.17085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C831A2

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

Preview Lab → · Contrast checker → · Palette generator →

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