#C84172#C84172

#C84172 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.175 H 2.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C84172
RGBrgb(200, 65, 114)
HSLhsl(338, 55%, 52%)
HSVhsv(338, 68%, 78%)
CMYKcmyk(0%, 67.5%, 43%, 21.6%)
CIE-LABlab(48.61, 57.15, 2.17)
CIE-LCHlch(48.61, 57.19, 2.17°)
OKLaboklab(57.97% 0.1748 0.0063)
OKLCHoklch(57.97% 0.175 2)
XYZxyz(28.7491, 17.2784, 17.7375)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C84172 #41C897
analogous
#C841B6 #C84172 #C85441
triadic
#C84172 #72C841 #4172C8
tetradic
#C84172 #B6C841 #41C897 #5441C8
square
#C84172 #B6C841 #41C897 #5441C8
split-complementary
#C84172 #41C854 #41B6C8
monochromatic
#6F203D #9E2E57 #C84172 #D67095 #E3A0B8

Accessibility & contrast

On white

4.71
#C84172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C84172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C84172
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C84172#FFFFFF#000000##FFFFFF
##C841721.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6373
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#D92F55
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c84172;
/* rgb */ color: rgb(200, 65, 114);
/* oklch */ color: oklch(58.0% 0.175 2.0);
Tailwind
colors: {
  custom: {
    50: '#de7e9a',
    500: '#c84172',
    950: '#000000',
  },
}
SCSS
$custom: #c84172;
$custom-light: #de7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c84172",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 338.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.17494,
    "h": 2
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#C84172
secondary
#95D0BA
accent
#DEA849
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C84172

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

Preview Lab → · Contrast checker → · Palette generator →

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