#C845A2#C845A2

#C845A2 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.193 H 341.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C845A2
RGBrgb(200, 69, 162)
HSLhsl(317, 54%, 53%)
HSVhsv(317, 66%, 78%)
CMYKcmyk(0%, 65.5%, 19%, 21.6%)
CIE-LABlab(50.86, 61.34, -23.23)
CIE-LCHlch(50.86, 65.59, 339.26°)
OKLaboklab(60.18% 0.183 -0.0624)
OKLCHoklch(60.18% 0.193 341.2)
XYZxyz(32.4700, 19.1473, 36.1611)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A2 #45C86B
analogous
#AD45C8 #C845A2 #C84560
triadic
#C845A2 #A2C845 #45A2C8
tetradic
#C845A2 #C8AD45 #45C86B #4560C8
square
#C845A2 #C8AD45 #45C86B #4560C8
split-complementary
#C845A2 #60C845 #45C8AD
monochromatic
#71215A #A02F80 #C845A2 #D674BA #E4A3D1

Accessibility & contrast

On white

4.35
#C845A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C845A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A2#FFFFFF#000000##000000
##C845A21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA5
Deuteranopia (green-blind)
#76819F
Tritanopia (blue-blind)
#D4476D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a2;
/* rgb */ color: rgb(200, 69, 162);
/* oklch */ color: oklch(60.2% 0.193 341.2);
Tailwind
colors: {
  custom: {
    50: '#dc82bd',
    500: '#c845a2',
    950: '#000000',
  },
}
SCSS
$custom: #c845a2;
$custom-light: #dc82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a2",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 317.405,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60179,
    "c": 0.1933,
    "h": 341.2
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#C845A2
secondary
#98D1A8
accent
#DE754A
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#150B12
muted
#847C81

Preview Lab

Preview with #C845A2

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

Preview Lab → · Contrast checker → · Palette generator →

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