#C838AF#C838AF

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

Color values

HEX#C838AF
RGBrgb(200, 56, 175)
HSLhsl(310, 57%, 50%)
HSVhsv(310, 72%, 78%)
CMYKcmyk(0%, 72%, 12.5%, 21.6%)
CIE-LABlab(49.74, 67.94, -32.61)
CIE-LCHlch(49.74, 75.36, 334.36°)
OKLaboklab(59.56% 0.199 -0.0889)
OKLCHoklch(59.56% 0.218 335.9)
XYZxyz(32.9719, 18.2058, 42.3267)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C838AF #38C851
analogous
#9938C8 #C838AF #C83867
triadic
#C838AF #AFC838 #38AFC8
tetradic
#C838AF #C89938 #38C851 #3867C8
square
#C838AF #C89938 #38C851 #3867C8
split-complementary
#C838AF #67C838 #38C899
monochromatic
#691D5C #992A85 #C838AF #D568C2 #E398D6

Accessibility & contrast

On white

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

On black

4.64
#C838AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C838AF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C838AF#FFFFFF#000000##000000
##C838AF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c838af;
/* rgb */ color: rgb(200, 56, 175);
/* oklch */ color: oklch(59.6% 0.218 335.9);
Tailwind
colors: {
  custom: {
    50: '#dd7cc7',
    500: '#c838af',
    950: '#000000',
  },
}
SCSS
$custom: #c838af;
$custom-light: #dd7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c838af",
  "rgb": {
    "r": 200,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 310.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.21799,
    "h": 335.9
  },
  "luminance": 0.18203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C838AF

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

Preview Lab → · Contrast checker → · Palette generator →

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