#C845AF#C845AF

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

Color values

HEX#C845AF
RGBrgb(200, 69, 175)
HSLhsl(311, 54%, 53%)
HSVhsv(311, 66%, 78%)
CMYKcmyk(0%, 65.5%, 12.5%, 21.6%)
CIE-LABlab(51.42, 63.23, -30.00)
CIE-LCHlch(51.42, 69.99, 334.62°)
OKLaboklab(60.77% 0.1851 -0.0815)
OKLCHoklch(60.77% 0.202 336.2)
XYZxyz(33.6858, 19.6336, 42.5646)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845AF #45C85E
analogous
#9F45C8 #C845AF #C8456E
triadic
#C845AF #AFC845 #45AFC8
tetradic
#C845AF #C89F45 #45C85E #456EC8
square
#C845AF #C89F45 #45C85E #456EC8
split-complementary
#C845AF #6EC845 #45C89F
monochromatic
#712162 #A02F8B #C845AF #D674C3 #E4A3D8

Accessibility & contrast

On white

4.26
#C845AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C845AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845AF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845AF#FFFFFF#000000##000000
##C845AF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#D24D74
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c845af;
/* rgb */ color: rgb(200, 69, 175);
/* oklch */ color: oklch(60.8% 0.202 336.2);
Tailwind
colors: {
  custom: {
    50: '#dc82c7',
    500: '#c845af',
    950: '#000000',
  },
}
SCSS
$custom: #c845af;
$custom-light: #dc82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c845af",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 311.45,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.20224,
    "h": 336.2
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845AF

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

Preview Lab → · Contrast checker → · Palette generator →

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