#C837A2#C837A2

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

Color values

HEX#C837A2
RGBrgb(200, 55, 162)
HSLhsl(316, 57%, 50%)
HSVhsv(316, 73%, 78%)
CMYKcmyk(0%, 72.5%, 19%, 21.6%)
CIE-LABlab(49.04, 66.45, -26.05)
CIE-LCHlch(49.04, 71.37, 338.60°)
OKLaboklab(58.85% 0.1984 -0.0702)
OKLCHoklch(58.85% 0.21 340.5)
XYZxyz(31.7081, 17.6235, 35.9072)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C837A2 #37C85D
analogous
#A537C8 #C837A2 #C8375A
triadic
#C837A2 #A2C837 #37A2C8
tetradic
#C837A2 #C8A537 #37C85D #375AC8
square
#C837A2 #C8A537 #37C85D #375AC8
split-complementary
#C837A2 #5AC837 #37C8A5
monochromatic
#681D54 #982A7B #C837A2 #D567B8 #E297CF

Accessibility & contrast

On white

4.64
#C837A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C837A2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C837A2#FFFFFF#000000##FFFFFF
##C837A21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4266A5
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#D43B68
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c837a2;
/* rgb */ color: rgb(200, 55, 162);
/* oklch */ color: oklch(58.9% 0.210 340.5);
Tailwind
colors: {
  custom: {
    50: '#dd7bbd',
    500: '#c837a2',
    950: '#000000',
  },
}
SCSS
$custom: #c837a2;
$custom-light: #dd7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c837a2",
  "rgb": {
    "r": 200,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 315.724,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.21048,
    "h": 340.5
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C837A2

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

Preview Lab → · Contrast checker → · Palette generator →

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