#C845A0#C845A0

#C845A0 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.192 H 342.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C845A0
RGBrgb(200, 69, 160)
HSLhsl(318, 54%, 53%)
HSVhsv(318, 66%, 78%)
CMYKcmyk(0%, 65.5%, 20%, 21.6%)
CIE-LABlab(50.78, 61.06, -22.17)
CIE-LCHlch(50.78, 64.97, 340.04°)
OKLaboklab(60.09% 0.1826 -0.0594)
OKLCHoklch(60.09% 0.192 342)
XYZxyz(32.2936, 19.0767, 35.2323)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A0 #45C86D
analogous
#AF45C8 #C845A0 #C8455E
triadic
#C845A0 #A0C845 #45A0C8
tetradic
#C845A0 #C8AF45 #45C86D #455EC8
square
#C845A0 #C8AF45 #45C86D #455EC8
split-complementary
#C845A0 #5EC845 #45C8AF
monochromatic
#712159 #A02F7E #C845A0 #D674B8 #E4A3D0

Accessibility & contrast

On white

4.36
#C845A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C845A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A0#FFFFFF#000000##000000
##C845A01.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D4466C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a0;
/* rgb */ color: rgb(200, 69, 160);
/* oklch */ color: oklch(60.1% 0.192 342.0);
Tailwind
colors: {
  custom: {
    50: '#dc82bc',
    500: '#c845a0',
    950: '#000000',
  },
}
SCSS
$custom: #c845a0;
$custom-light: #dc82bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a0",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 318.321,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.192,
    "h": 342
  },
  "luminance": 0.19074
}

Semantic roles & 50–950 ramp

primary
#C845A0
secondary
#98D1A9
accent
#DE774A
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#150B12
muted
#847C81

Preview Lab

Preview with #C845A0

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

Preview Lab → · Contrast checker → · Palette generator →

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