#C845AB#C845AB

#C845AB is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.6% C 0.199 H 337.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C845AB
RGBrgb(200, 69, 171)
HSLhsl(313, 54%, 53%)
HSVhsv(313, 66%, 78%)
CMYKcmyk(0%, 65.5%, 14.5%, 21.6%)
CIE-LABlab(51.24, 62.64, -27.93)
CIE-LCHlch(51.24, 68.58, 335.97°)
OKLaboklab(60.59% 0.1845 -0.0757)
OKLCHoklch(60.59% 0.199 337.7)
XYZxyz(33.2988, 19.4788, 40.5262)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845AB #45C862
analogous
#A345C8 #C845AB #C8456A
triadic
#C845AB #ABC845 #45ABC8
tetradic
#C845AB #C8A345 #45C862 #456AC8
square
#C845AB #C8A345 #45C862 #456AC8
split-complementary
#C845AB #6AC845 #45C8A3
monochromatic
#712160 #A02F87 #C845AB #D674C0 #E4A3D6

Accessibility & contrast

On white

4.29
#C845AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C845AB#FFFFFF#000000##000000
##C845AB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#7381A8
Tritanopia (blue-blind)
#D24B72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845ab;
/* rgb */ color: rgb(200, 69, 171);
/* oklch */ color: oklch(60.6% 0.199 337.7);
Tailwind
colors: {
  custom: {
    50: '#dc82c4',
    500: '#c845ab',
    950: '#000000',
  },
}
SCSS
$custom: #c845ab;
$custom-light: #dc82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c845ab",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 313.282,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60585,
    "c": 0.1994,
    "h": 337.7
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845AB

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

Preview Lab → · Contrast checker → · Palette generator →

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