#C839A2#C839A2

#C839A2 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.0% C 0.208 H 340.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C839A2
RGBrgb(200, 57, 162)
HSLhsl(316, 57%, 50%)
HSVhsv(316, 72%, 78%)
CMYKcmyk(0%, 71.5%, 19%, 21.6%)
CIE-LABlab(49.27, 65.77, -25.68)
CIE-LCHlch(49.27, 70.61, 338.67°)
OKLaboklab(59.02% 0.1964 -0.0692)
OKLCHoklch(59.02% 0.208 340.6)
XYZxyz(31.8050, 17.8174, 35.9395)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C839A2 #39C85F
analogous
#A639C8 #C839A2 #C8395A
triadic
#C839A2 #A2C839 #39A2C8
tetradic
#C839A2 #C8A639 #39C85F #395AC8
square
#C839A2 #C8A639 #39C85F #395AC8
split-complementary
#C839A2 #5AC839 #39C8A6
monochromatic
#691D55 #992B7C #C839A2 #D569B8 #E399CF

Accessibility & contrast

On white

4.60
#C839A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C839A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C839A2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C839A2#FFFFFF#000000##FFFFFF
##C839A21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#D43D69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c839a2;
/* rgb */ color: rgb(200, 57, 162);
/* oklch */ color: oklch(59.0% 0.208 340.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cbd',
    500: '#c839a2',
    950: '#000000',
  },
}
SCSS
$custom: #c839a2;
$custom-light: #dd7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c839a2",
  "rgb": {
    "r": 200,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 315.944,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.20821,
    "h": 340.6
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C839A2

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

Preview Lab → · Contrast checker → · Palette generator →

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