#C845B2#C845B2

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

Color values

HEX#C845B2
RGBrgb(200, 69, 178)
HSLhsl(310, 54%, 53%)
HSVhsv(310, 66%, 78%)
CMYKcmyk(0%, 65.5%, 11%, 21.6%)
CIE-LABlab(51.56, 63.69, -31.54)
CIE-LCHlch(51.56, 71.07, 333.66°)
OKLaboklab(60.92% 0.1855 -0.0859)
OKLCHoklch(60.92% 0.204 335.1)
XYZxyz(33.9838, 19.7528, 44.1337)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C845B2 #45C85B
analogous
#9C45C8 #C845B2 #C84571
triadic
#C845B2 #B2C845 #45B2C8
tetradic
#C845B2 #C89C45 #45C85B #4571C8
square
#C845B2 #C89C45 #45C85B #4571C8
split-complementary
#C845B2 #71C845 #45C89C
monochromatic
#712164 #A02F8D #C845B2 #D674C6 #E4A3D9

Accessibility & contrast

On white

4.24
#C845B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C845B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C845B2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C845B2#FFFFFF#000000##000000
##C845B21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#D14E75
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c845b2;
/* rgb */ color: rgb(200, 69, 178);
/* oklch */ color: oklch(60.9% 0.204 335.1);
Tailwind
colors: {
  custom: {
    50: '#dc82c9',
    500: '#c845b2',
    950: '#000000',
  },
}
SCSS
$custom: #c845b2;
$custom-light: #dc82c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c845b2",
  "rgb": {
    "r": 200,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 310.076,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.20441,
    "h": 335.1
  },
  "luminance": 0.1975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C845B2

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

Preview Lab → · Contrast checker → · Palette generator →

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