#C845A8#C845A8

#C845A8 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.4% C 0.197 H 338.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C845A8
RGBrgb(200, 69, 168)
HSLhsl(315, 54%, 53%)
HSVhsv(315, 66%, 78%)
CMYKcmyk(0%, 65.5%, 16%, 21.6%)
CIE-LABlab(51.11, 62.20, -26.37)
CIE-LCHlch(51.11, 67.56, 337.03°)
OKLaboklab(60.45% 0.184 -0.0712)
OKLCHoklch(60.45% 0.197 338.8)
XYZxyz(33.0161, 19.3657, 39.0373)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A8 #45C865
analogous
#A645C8 #C845A8 #C84567
triadic
#C845A8 #A8C845 #45A8C8
tetradic
#C845A8 #C8A645 #45C865 #4567C8
square
#C845A8 #C8A645 #45C865 #4567C8
split-complementary
#C845A8 #67C845 #45C8A6
monochromatic
#71215E #A02F85 #C845A8 #D674BE #E4A3D4

Accessibility & contrast

On white

4.31
#C845A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C845A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A8#FFFFFF#000000##000000
##C845A81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAB
Deuteranopia (green-blind)
#7481A5
Tritanopia (blue-blind)
#D34A70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845a8;
/* rgb */ color: rgb(200, 69, 168);
/* oklch */ color: oklch(60.4% 0.197 338.8);
Tailwind
colors: {
  custom: {
    50: '#dc82c2',
    500: '#c845a8',
    950: '#000000',
  },
}
SCSS
$custom: #c845a8;
$custom-light: #dc82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a8",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 314.656,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.19733,
    "h": 338.8
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#C845A8
secondary
#98D1A6
accent
#DE6E4A
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C845A8

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

Preview Lab → · Contrast checker → · Palette generator →

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