#C845AC#C845AC

#C845AC is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.6% C 0.200 H 337.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C845AC
RGBrgb(200, 69, 172)
HSLhsl(313, 54%, 53%)
HSVhsv(313, 66%, 78%)
CMYKcmyk(0%, 65.5%, 14%, 21.6%)
CIE-LABlab(51.29, 62.79, -28.45)
CIE-LCHlch(51.29, 68.93, 335.63°)
OKLaboklab(60.63% 0.1847 -0.0771)
OKLCHoklch(60.63% 0.2 337.3)
XYZxyz(33.3945, 19.5171, 41.0301)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845AC #45C861
analogous
#A245C8 #C845AC #C8456B
triadic
#C845AC #ACC845 #45ACC8
tetradic
#C845AC #C8A245 #45C861 #456BC8
square
#C845AC #C8A245 #45C861 #456BC8
split-complementary
#C845AC #6BC845 #45C8A2
monochromatic
#712160 #A02F88 #C845AC #D674C1 #E4A3D6

Accessibility & contrast

On white

4.28
#C845AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C845AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845AC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845AC#FFFFFF#000000##000000
##C845AC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAF
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#D24B72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845ac;
/* rgb */ color: rgb(200, 69, 172);
/* oklch */ color: oklch(60.6% 0.200 337.3);
Tailwind
colors: {
  custom: {
    50: '#dc82c5',
    500: '#c845ac',
    950: '#000000',
  },
}
SCSS
$custom: #c845ac;
$custom-light: #dc82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c845ac",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 312.824,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.20011,
    "h": 337.3
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#C845AC
secondary
#98D1A4
accent
#DE6A4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C845AC

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

Preview Lab → · Contrast checker → · Palette generator →

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