#C845A6#C845A6

#C845A6 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.4% C 0.196 H 339.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C845A6
RGBrgb(200, 69, 166)
HSLhsl(316, 54%, 53%)
HSVhsv(316, 66%, 78%)
CMYKcmyk(0%, 65.5%, 17%, 21.6%)
CIE-LABlab(51.03, 61.91, -25.33)
CIE-LCHlch(51.03, 66.89, 337.75°)
OKLaboklab(60.36% 0.1837 -0.0683)
OKLCHoklch(60.36% 0.196 339.6)
XYZxyz(32.8312, 19.2918, 38.0636)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A6 #45C867
analogous
#A945C8 #C845A6 #C84564
triadic
#C845A6 #A6C845 #45A6C8
tetradic
#C845A6 #C8A945 #45C867 #4564C8
square
#C845A6 #C8A945 #45C867 #4564C8
split-complementary
#C845A6 #64C845 #45C8A9
monochromatic
#71215C #A02F83 #C845A6 #D674BD #E4A3D3

Accessibility & contrast

On white

4.32
#C845A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C845A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A6#FFFFFF#000000##000000
##C845A61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CA9
Deuteranopia (green-blind)
#7581A3
Tritanopia (blue-blind)
#D3496F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a6;
/* rgb */ color: rgb(200, 69, 166);
/* oklch */ color: oklch(60.4% 0.196 339.6);
Tailwind
colors: {
  custom: {
    50: '#dc82c0',
    500: '#c845a6',
    950: '#000000',
  },
}
SCSS
$custom: #c845a6;
$custom-light: #dc82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a6",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 315.573,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.19596,
    "h": 339.6
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#C845A6
secondary
#98D1A7
accent
#DE704A
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C845A6

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

Preview Lab → · Contrast checker → · Palette generator →

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