#C838AA#C838AA

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

Color values

HEX#C838AA
RGBrgb(200, 56, 170)
HSLhsl(313, 57%, 50%)
HSVhsv(313, 72%, 78%)
CMYKcmyk(0%, 72%, 15%, 21.6%)
CIE-LABlab(49.51, 67.22, -30.03)
CIE-LCHlch(49.51, 73.63, 335.93°)
OKLaboklab(59.31% 0.1985 -0.0815)
OKLCHoklch(59.31% 0.215 337.7)
XYZxyz(32.4899, 18.0130, 39.7882)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838AA #38C856
analogous
#9E38C8 #C838AA #C83862
triadic
#C838AA #AAC838 #38AAC8
tetradic
#C838AA #C89E38 #38C856 #3862C8
square
#C838AA #C89E38 #38C856 #3862C8
split-complementary
#C838AA #62C838 #38C89E
monochromatic
#691D59 #992A82 #C838AA #D568BE #E398D3

Accessibility & contrast

On white

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

On black

4.60
#C838AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838AA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838AA#FFFFFF#000000##000000
##C838AA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c838aa;
/* rgb */ color: rgb(200, 56, 170);
/* oklch */ color: oklch(59.3% 0.215 337.7);
Tailwind
colors: {
  custom: {
    50: '#dd7cc3',
    500: '#c838aa',
    950: '#000000',
  },
}
SCSS
$custom: #c838aa;
$custom-light: #dd7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c838aa",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 312.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59313,
    "c": 0.21459,
    "h": 337.7
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C838AA

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

Preview Lab → · Contrast checker → · Palette generator →

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