#C845A3#C845A3

#C845A3 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.2% C 0.194 H 340.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C845A3
RGBrgb(200, 69, 163)
HSLhsl(317, 54%, 53%)
HSVhsv(317, 66%, 78%)
CMYKcmyk(0%, 65.5%, 18.5%, 21.6%)
CIE-LABlab(50.90, 61.49, -23.75)
CIE-LCHlch(50.90, 65.91, 338.88°)
OKLaboklab(60.22% 0.1831 -0.0639)
OKLCHoklch(60.22% 0.194 340.8)
XYZxyz(32.5592, 19.1830, 36.6311)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A3 #45C86A
analogous
#AC45C8 #C845A3 #C84561
triadic
#C845A3 #A3C845 #45A3C8
tetradic
#C845A3 #C8AC45 #45C86A #4561C8
square
#C845A3 #C8AC45 #45C86A #4561C8
split-complementary
#C845A3 #61C845 #45C8AC
monochromatic
#71215B #A02F80 #C845A3 #D674BA #E4A3D2

Accessibility & contrast

On white

4.34
#C845A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C845A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A3#FFFFFF#000000##000000
##C845A31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D4486E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a3;
/* rgb */ color: rgb(200, 69, 163);
/* oklch */ color: oklch(60.2% 0.194 340.8);
Tailwind
colors: {
  custom: {
    50: '#dc82be',
    500: '#c845a3',
    950: '#000000',
  },
}
SCSS
$custom: #c845a3;
$custom-light: #dc82be;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a3",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 316.947,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60223,
    "c": 0.19395,
    "h": 340.8
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#C845A3
secondary
#98D1A8
accent
#DE744A
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#150B12
muted
#847C81

Preview Lab

Preview with #C845A3

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

Preview Lab → · Contrast checker → · Palette generator →

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