#C845A1#C845A1

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

Color values

HEX#C845A1
RGBrgb(200, 69, 161)
HSLhsl(318, 54%, 53%)
HSVhsv(318, 66%, 78%)
CMYKcmyk(0%, 65.5%, 19.5%, 21.6%)
CIE-LABlab(50.82, 61.20, -22.70)
CIE-LCHlch(50.82, 65.28, 339.65°)
OKLaboklab(60.14% 0.1828 -0.0609)
OKLCHoklch(60.14% 0.193 341.6)
XYZxyz(32.3814, 19.1118, 35.6949)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845A1 #45C86C
analogous
#AE45C8 #C845A1 #C8455F
triadic
#C845A1 #A1C845 #45A1C8
tetradic
#C845A1 #C8AE45 #45C86C #455FC8
square
#C845A1 #C8AE45 #45C86C #455FC8
split-complementary
#C845A1 #5FC845 #45C8AE
monochromatic
#712159 #A02F7F #C845A1 #D674B9 #E4A3D1

Accessibility & contrast

On white

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

On black

4.82
#C845A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845A1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845A1#FFFFFF#000000##000000
##C845A11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6BA4
Deuteranopia (green-blind)
#76819E
Tritanopia (blue-blind)
#D4476D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c845a1;
/* rgb */ color: rgb(200, 69, 161);
/* oklch */ color: oklch(60.1% 0.193 341.6);
Tailwind
colors: {
  custom: {
    50: '#dc82bd',
    500: '#c845a1',
    950: '#000000',
  },
}
SCSS
$custom: #c845a1;
$custom-light: #dc82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c845a1",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 317.863,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.19265,
    "h": 341.6
  },
  "luminance": 0.19109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845A1

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

Preview Lab → · Contrast checker → · Palette generator →

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