#C831A8#C831A8

#C831A8 is a mid, highly saturated pink. Relative luminance 0.173; OKLCH L 58.7% C 0.221 H 338.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C831A8
RGBrgb(200, 49, 168)
HSLhsl(313, 61%, 49%)
HSVhsv(313, 76%, 78%)
CMYKcmyk(0%, 75.5%, 16%, 21.6%)
CIE-LABlab(48.64, 69.15, -30.21)
CIE-LCHlch(48.64, 75.46, 336.40°)
OKLaboklab(58.66% 0.2049 -0.082)
OKLCHoklch(58.66% 0.221 338.2)
XYZxyz(31.9864, 17.3062, 38.6941)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C831A8 #31C851
analogous
#9D31C8 #C831A8 #C8315D
triadic
#C831A8 #A8C831 #31A8C8
tetradic
#C831A8 #C89D31 #31C851 #315DC8
square
#C831A8 #C89D31 #31C851 #315DC8
split-complementary
#C831A8 #5DC831 #31C89D
monochromatic
#661955 #97257F #C831A8 #D85FBE #E490D2

Accessibility & contrast

On white

4.71
#C831A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C831A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C831A8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C831A8#FFFFFF#000000##FFFFFF
##C831A81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AB
Deuteranopia (green-blind)
#6C7CA5
Tritanopia (blue-blind)
#D3396A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c831a8;
/* rgb */ color: rgb(200, 49, 168);
/* oklch */ color: oklch(58.7% 0.221 338.2);
Tailwind
colors: {
  custom: {
    50: '#dd79c2',
    500: '#c831a8',
    950: '#000000',
  },
}
SCSS
$custom: #c831a8;
$custom-light: #dd79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c831a8",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 312.715,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.22069,
    "h": 338.2
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#C831A8
secondary
#86CE96
accent
#E46644
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C831A8

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

Preview Lab → · Contrast checker → · Palette generator →

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