#C838AE#C838AE

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

Color values

HEX#C838AE
RGBrgb(200, 56, 174)
HSLhsl(311, 57%, 50%)
HSVhsv(311, 72%, 78%)
CMYKcmyk(0%, 72%, 13%, 21.6%)
CIE-LABlab(49.70, 67.79, -32.10)
CIE-LCHlch(49.70, 75.01, 334.66°)
OKLaboklab(59.51% 0.1989 -0.0874)
OKLCHoklch(59.51% 0.217 336.3)
XYZxyz(32.8741, 18.1667, 41.8113)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838AE #38C852
analogous
#9A38C8 #C838AE #C83866
triadic
#C838AE #AEC838 #38AEC8
tetradic
#C838AE #C89A38 #38C852 #3866C8
square
#C838AE #C89A38 #38C852 #3866C8
split-complementary
#C838AE #66C838 #38C89A
monochromatic
#691D5B #992A85 #C838AE #D568C2 #E398D5

Accessibility & contrast

On white

4.53
#C838AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C838AE#FFFFFF#000000##000000
##C838AE1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#D2426F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c838ae;
/* rgb */ color: rgb(200, 56, 174);
/* oklch */ color: oklch(59.5% 0.217 336.3);
Tailwind
colors: {
  custom: {
    50: '#dd7cc6',
    500: '#c838ae',
    950: '#000000',
  },
}
SCSS
$custom: #c838ae;
$custom-light: #dd7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c838ae",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 310.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59508,
    "c": 0.2173,
    "h": 336.3
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#C838AE
secondary
#8ECE99
accent
#E06348
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838AE

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

Preview Lab → · Contrast checker → · Palette generator →

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