#C845A5#C845A5

#C845A5 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.3% C 0.195 H 340.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C845A5
RGBrgb(200, 69, 165)
HSLhsl(316, 54%, 53%)
HSVhsv(316, 66%, 78%)
CMYKcmyk(0%, 65.5%, 17.5%, 21.6%)
CIE-LABlab(50.98, 61.77, -24.80)
CIE-LCHlch(50.98, 66.56, 338.12°)
OKLaboklab(60.31% 0.1835 -0.0668)
OKLCHoklch(60.31% 0.195 340)
XYZxyz(32.7398, 19.2552, 37.5824)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A5 #45C868
analogous
#AA45C8 #C845A5 #C84563
triadic
#C845A5 #A5C845 #45A5C8
tetradic
#C845A5 #C8AA45 #45C868 #4563C8
square
#C845A5 #C8AA45 #45C868 #4563C8
split-complementary
#C845A5 #63C845 #45C8AA
monochromatic
#71215C #A02F82 #C845A5 #D674BC #E4A3D3

Accessibility & contrast

On white

4.33
#C845A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C845A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A5#FFFFFF#000000##000000
##C845A51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA8
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#D3486F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a5;
/* rgb */ color: rgb(200, 69, 165);
/* oklch */ color: oklch(60.3% 0.195 340.0);
Tailwind
colors: {
  custom: {
    50: '#dc82c0',
    500: '#c845a5',
    950: '#000000',
  },
}
SCSS
$custom: #c845a5;
$custom-light: #dc82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a5",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 316.031,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60312,
    "c": 0.1953,
    "h": 340
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#C845A5
secondary
#98D1A7
accent
#DE724A
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C845A5

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

Preview Lab → · Contrast checker → · Palette generator →

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