#C837A1#C837A1

#C837A1 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.8% C 0.210 H 340.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C837A1
RGBrgb(200, 55, 161)
HSLhsl(316, 57%, 50%)
HSVhsv(316, 73%, 78%)
CMYKcmyk(0%, 72.5%, 19.5%, 21.6%)
CIE-LABlab(48.99, 66.31, -25.52)
CIE-LCHlch(48.99, 71.05, 338.95°)
OKLaboklab(58.81% 0.1983 -0.0687)
OKLCHoklch(58.81% 0.21 340.9)
XYZxyz(31.6196, 17.5881, 35.4409)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837A1 #37C85E
analogous
#A737C8 #C837A1 #C83758
triadic
#C837A1 #A1C837 #37A1C8
tetradic
#C837A1 #C8A737 #37C85E #3758C8
square
#C837A1 #C8A737 #37C85E #3758C8
split-complementary
#C837A1 #58C837 #37C8A7
monochromatic
#681D54 #982A7A #C837A1 #D567B8 #E297CE

Accessibility & contrast

On white

4.65
#C837A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C837A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C837A1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837A1#FFFFFF#000000##FFFFFF
##C837A11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A4
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#D43A68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c837a1;
/* rgb */ color: rgb(200, 55, 161);
/* oklch */ color: oklch(58.8% 0.210 340.9);
Tailwind
colors: {
  custom: {
    50: '#dd7bbd',
    500: '#c837a1',
    950: '#000000',
  },
}
SCSS
$custom: #c837a1;
$custom-light: #dd7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c837a1",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 316.138,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.20984,
    "h": 340.9
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#C837A1
secondary
#8DCE9E
accent
#E07148
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C837A1

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

Preview Lab → · Contrast checker → · Palette generator →

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