#C838A2#C838A2

#C838A2 is a mid, highly saturated pink. Relative luminance 0.177; OKLCH L 58.9% C 0.209 H 340.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C838A2
RGBrgb(200, 56, 162)
HSLhsl(316, 57%, 50%)
HSVhsv(316, 72%, 78%)
CMYKcmyk(0%, 72%, 19%, 21.6%)
CIE-LABlab(49.15, 66.11, -25.86)
CIE-LCHlch(49.15, 70.99, 338.63°)
OKLaboklab(58.94% 0.1974 -0.0697)
OKLCHoklch(58.94% 0.209 340.6)
XYZxyz(31.7561, 17.7195, 35.9232)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838A2 #38C85E
analogous
#A638C8 #C838A2 #C8385A
triadic
#C838A2 #A2C838 #38A2C8
tetradic
#C838A2 #C8A638 #38C85E #385AC8
square
#C838A2 #C8A638 #38C85E #385AC8
split-complementary
#C838A2 #5AC838 #38C8A6
monochromatic
#691D55 #992A7B #C838A2 #D568B8 #E398CF

Accessibility & contrast

On white

4.62
#C838A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C838A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C838A2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838A2#FFFFFF#000000##FFFFFF
##C838A21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#D43C69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c838a2;
/* rgb */ color: rgb(200, 56, 162);
/* oklch */ color: oklch(58.9% 0.209 340.6);
Tailwind
colors: {
  custom: {
    50: '#dd7bbd',
    500: '#c838a2',
    950: '#000000',
  },
}
SCSS
$custom: #c838a2;
$custom-light: #dd7bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#c838a2",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 315.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.20935,
    "h": 340.6
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#C838A2
secondary
#8ECE9F
accent
#E07048
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C838A2

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

Preview Lab → · Contrast checker → · Palette generator →

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