#C845B0#C845B0

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

Color values

HEX#C845B0
RGBrgb(200, 69, 176)
HSLhsl(311, 54%, 53%)
HSVhsv(311, 66%, 78%)
CMYKcmyk(0%, 65.5%, 12%, 21.6%)
CIE-LABlab(51.47, 63.38, -30.51)
CIE-LCHlch(51.47, 70.35, 334.30°)
OKLaboklab(60.82% 0.1852 -0.083)
OKLCHoklch(60.82% 0.203 335.9)
XYZxyz(33.7844, 19.6730, 43.0838)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845B0 #45C85D
analogous
#9E45C8 #C845B0 #C8456F
triadic
#C845B0 #B0C845 #45B0C8
tetradic
#C845B0 #C89E45 #45C85D #456FC8
square
#C845B0 #C89E45 #45C85D #456FC8
split-complementary
#C845B0 #6FC845 #45C89E
monochromatic
#712163 #A02F8C #C845B0 #D674C4 #E4A3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C845B0#FFFFFF#000000##000000
##C845B01.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)
#466EB3
Deuteranopia (green-blind)
#7182AD
Tritanopia (blue-blind)
#D24D74
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c845b0;
/* rgb */ color: rgb(200, 69, 176);
/* oklch */ color: oklch(60.8% 0.203 335.9);
Tailwind
colors: {
  custom: {
    50: '#dc82c8',
    500: '#c845b0',
    950: '#000000',
  },
}
SCSS
$custom: #c845b0;
$custom-light: #dc82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c845b0",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 310.992,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6082,
    "c": 0.20296,
    "h": 335.9
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#C845B0
secondary
#98D1A2
accent
#DE654A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C845B0

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

Preview Lab → · Contrast checker → · Palette generator →

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