#C845A7#C845A7

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

Color values

HEX#C845A7
RGBrgb(200, 69, 167)
HSLhsl(315, 54%, 53%)
HSVhsv(315, 66%, 78%)
CMYKcmyk(0%, 65.5%, 16.5%, 21.6%)
CIE-LABlab(51.07, 62.06, -25.85)
CIE-LCHlch(51.07, 67.22, 337.39°)
OKLaboklab(60.4% 0.1839 -0.0698)
OKLCHoklch(60.4% 0.197 339.2)
XYZxyz(32.9233, 19.3286, 38.5486)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A7 #45C866
analogous
#A845C8 #C845A7 #C84565
triadic
#C845A7 #A7C845 #45A7C8
tetradic
#C845A7 #C8A845 #45C866 #4565C8
square
#C845A7 #C8A845 #45C866 #4565C8
split-complementary
#C845A7 #65C845 #45C8A8
monochromatic
#71215D #A02F84 #C845A7 #D674BD #E4A3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C845A7#FFFFFF#000000##000000
##C845A71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6CAA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#D34970
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845a7;
/* rgb */ color: rgb(200, 69, 167);
/* oklch */ color: oklch(60.4% 0.197 339.2);
Tailwind
colors: {
  custom: {
    50: '#dc82c1',
    500: '#c845a7',
    950: '#000000',
  },
}
SCSS
$custom: #c845a7;
$custom-light: #dc82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a7",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 315.115,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.19664,
    "h": 339.2
  },
  "luminance": 0.19326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845A7

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

Preview Lab → · Contrast checker → · Palette generator →

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