#C845AA#C845AA

#C845AA is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.199 H 338.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C845AA
RGBrgb(200, 69, 170)
HSLhsl(314, 54%, 53%)
HSVhsv(314, 66%, 78%)
CMYKcmyk(0%, 65.5%, 15%, 21.6%)
CIE-LABlab(51.20, 62.49, -27.41)
CIE-LCHlch(51.20, 68.24, 336.32°)
OKLaboklab(60.54% 0.1843 -0.0742)
OKLCHoklch(60.54% 0.199 338.1)
XYZxyz(33.2038, 19.4408, 40.0261)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845AA #45C863
analogous
#A445C8 #C845AA #C84569
triadic
#C845AA #AAC845 #45AAC8
tetradic
#C845AA #C8A445 #45C863 #4569C8
square
#C845AA #C8A445 #45C863 #4569C8
split-complementary
#C845AA #69C845 #45C8A4
monochromatic
#71215F #A02F87 #C845AA #D674C0 #E4A3D5

Accessibility & contrast

On white

4.30
#C845AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C845AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845AA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845AA#FFFFFF#000000##000000
##C845AA1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#7381A7
Tritanopia (blue-blind)
#D34B71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845aa;
/* rgb */ color: rgb(200, 69, 170);
/* oklch */ color: oklch(60.5% 0.199 338.1);
Tailwind
colors: {
  custom: {
    50: '#dc82c3',
    500: '#c845aa',
    950: '#000000',
  },
}
SCSS
$custom: #c845aa;
$custom-light: #dc82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c845aa",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 313.74,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.19871,
    "h": 338.1
  },
  "luminance": 0.19438
}

Semantic roles & 50–950 ramp

primary
#C845AA
secondary
#98D1A5
accent
#DE6C4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C845AA

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

Preview Lab → · Contrast checker → · Palette generator →

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