#C845AE#C845AE

#C845AE is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.7% C 0.202 H 336.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C845AE
RGBrgb(200, 69, 174)
HSLhsl(312, 54%, 53%)
HSVhsv(312, 66%, 78%)
CMYKcmyk(0%, 65.5%, 13%, 21.6%)
CIE-LABlab(51.38, 63.08, -29.48)
CIE-LCHlch(51.38, 69.63, 334.95°)
OKLaboklab(60.72% 0.1849 -0.0801)
OKLCHoklch(60.72% 0.202 336.6)
XYZxyz(33.5880, 19.5945, 42.0493)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845AE #45C85F
analogous
#A045C8 #C845AE #C8456D
triadic
#C845AE #AEC845 #45AEC8
tetradic
#C845AE #C8A045 #45C85F #456DC8
square
#C845AE #C8A045 #45C85F #456DC8
split-complementary
#C845AE #6DC845 #45C8A0
monochromatic
#712161 #A02F8A #C845AE #D674C3 #E4A3D7

Accessibility & contrast

On white

4.27
#C845AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C845AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845AE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845AE#FFFFFF#000000##000000
##C845AE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#D24C73
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845ae;
/* rgb */ color: rgb(200, 69, 174);
/* oklch */ color: oklch(60.7% 0.202 336.6);
Tailwind
colors: {
  custom: {
    50: '#dc82c6',
    500: '#c845ae',
    950: '#000000',
  },
}
SCSS
$custom: #c845ae;
$custom-light: #dc82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c845ae",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 311.908,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60725,
    "c": 0.20153,
    "h": 336.6
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#C845AE
secondary
#98D1A3
accent
#DE674A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C845AE

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

Preview Lab → · Contrast checker → · Palette generator →

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