#C838AB#C838AB

#C838AB is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.4% C 0.215 H 337.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C838AB
RGBrgb(200, 56, 171)
HSLhsl(312, 57%, 50%)
HSVhsv(312, 72%, 78%)
CMYKcmyk(0%, 72%, 14.5%, 21.6%)
CIE-LABlab(49.56, 67.36, -30.55)
CIE-LCHlch(49.56, 73.97, 335.60°)
OKLaboklab(59.36% 0.1986 -0.083)
OKLCHoklch(59.36% 0.215 337.3)
XYZxyz(32.5849, 18.0510, 40.2883)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838AB #38C855
analogous
#9D38C8 #C838AB #C83863
triadic
#C838AB #ABC838 #38ABC8
tetradic
#C838AB #C89D38 #38C855 #3863C8
square
#C838AB #C89D38 #38C855 #3863C8
split-complementary
#C838AB #63C838 #38C89D
monochromatic
#691D59 #992A82 #C838AB #D568BF #E398D3

Accessibility & contrast

On white

4.56
#C838AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C838AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838AB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838AB#FFFFFF#000000##000000
##C838AB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#D3406D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c838ab;
/* rgb */ color: rgb(200, 56, 171);
/* oklch */ color: oklch(59.4% 0.215 337.3);
Tailwind
colors: {
  custom: {
    50: '#dd7cc4',
    500: '#c838ab',
    950: '#000000',
  },
}
SCSS
$custom: #c838ab;
$custom-light: #dd7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c838ab",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 312.083,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.21526,
    "h": 337.3
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#C838AB
secondary
#8ECE9B
accent
#E06648
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C838AB

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

Preview Lab → · Contrast checker → · Palette generator →

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