#C838B0#C838B0

#C838B0 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.219 H 335.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C838B0
RGBrgb(200, 56, 176)
HSLhsl(310, 57%, 50%)
HSVhsv(310, 72%, 78%)
CMYKcmyk(0%, 72%, 12%, 21.6%)
CIE-LABlab(49.79, 68.08, -33.12)
CIE-LCHlch(49.79, 75.72, 334.06°)
OKLaboklab(59.61% 0.1991 -0.0904)
OKLCHoklch(59.61% 0.219 335.6)
XYZxyz(33.0705, 18.2452, 42.8458)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838B0 #38C850
analogous
#9838C8 #C838B0 #C83868
triadic
#C838B0 #B0C838 #38B0C8
tetradic
#C838B0 #C89838 #38C850 #3868C8
square
#C838B0 #C89838 #38C850 #3868C8
split-complementary
#C838B0 #68C838 #38C898
monochromatic
#691D5C #992A86 #C838B0 #D568C3 #E398D6

Accessibility & contrast

On white

4.52
#C838B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C838B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838B0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838B0#FFFFFF#000000##000000
##C838B01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#D24370
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c838b0;
/* rgb */ color: rgb(200, 56, 176);
/* oklch */ color: oklch(59.6% 0.219 335.6);
Tailwind
colors: {
  custom: {
    50: '#dd7cc8',
    500: '#c838b0',
    950: '#000000',
  },
}
SCSS
$custom: #c838b0;
$custom-light: #dd7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c838b0",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 310,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.21868,
    "h": 335.6
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

primary
#C838B0
secondary
#8ECE98
accent
#E06148
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C838B0

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

Preview Lab → · Contrast checker → · Palette generator →

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