#C838AD#C838AD

#C838AD is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.217 H 336.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C838AD
RGBrgb(200, 56, 173)
HSLhsl(311, 57%, 50%)
HSVhsv(311, 72%, 78%)
CMYKcmyk(0%, 72%, 13.5%, 21.6%)
CIE-LABlab(49.65, 67.65, -31.58)
CIE-LCHlch(49.65, 74.66, 334.97°)
OKLaboklab(59.46% 0.1988 -0.086)
OKLCHoklch(59.46% 0.217 336.6)
XYZxyz(32.7770, 18.1278, 41.2998)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838AD #38C853
analogous
#9B38C8 #C838AD #C83865
triadic
#C838AD #ADC838 #38ADC8
tetradic
#C838AD #C89B38 #38C853 #3865C8
square
#C838AD #C89B38 #38C853 #3865C8
split-complementary
#C838AD #65C838 #38C89B
monochromatic
#691D5A #992A84 #C838AD #D568C1 #E398D5

Accessibility & contrast

On white

4.54
#C838AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C838AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838AD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838AD#FFFFFF#000000##000000
##C838AD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#D2416E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c838ad;
/* rgb */ color: rgb(200, 56, 173);
/* oklch */ color: oklch(59.5% 0.217 336.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cc6',
    500: '#c838ad',
    950: '#000000',
  },
}
SCSS
$custom: #c838ad;
$custom-light: #dd7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c838ad",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 311.25,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.21662,
    "h": 336.6
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#C838AD
secondary
#8ECE9A
accent
#E06448
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838AD

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

Preview Lab → · Contrast checker → · Palette generator →

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