#C845B1#C845B1

#C845B1 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.204 H 335.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C845B1
RGBrgb(200, 69, 177)
HSLhsl(311, 54%, 53%)
HSVhsv(311, 66%, 78%)
CMYKcmyk(0%, 65.5%, 11.5%, 21.6%)
CIE-LABlab(51.51, 63.54, -31.02)
CIE-LCHlch(51.51, 70.71, 333.97°)
OKLaboklab(60.87% 0.1853 -0.0845)
OKLCHoklch(60.87% 0.204 335.5)
XYZxyz(33.8837, 19.7128, 43.6068)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845B1 #45C85C
analogous
#9D45C8 #C845B1 #C84570
triadic
#C845B1 #B1C845 #45B1C8
tetradic
#C845B1 #C89D45 #45C85C #4570C8
square
#C845B1 #C89D45 #45C85C #4570C8
split-complementary
#C845B1 #70C845 #45C89D
monochromatic
#712163 #A02F8D #C845B1 #D674C5 #E4A3D9

Accessibility & contrast

On white

4.25
#C845B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C845B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845B1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845B1#FFFFFF#000000##000000
##C845B11.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#466EB4
Deuteranopia (green-blind)
#7082AE
Tritanopia (blue-blind)
#D24D75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c845b1;
/* rgb */ color: rgb(200, 69, 177);
/* oklch */ color: oklch(60.9% 0.204 335.5);
Tailwind
colors: {
  custom: {
    50: '#dc82c8',
    500: '#c845b1',
    950: '#000000',
  },
}
SCSS
$custom: #c845b1;
$custom-light: #dc82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c845b1",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 310.534,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.20368,
    "h": 335.5
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845B1

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

Preview Lab → · Contrast checker → · Palette generator →

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