#C84271#C84271

#C84271 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.173 H 2.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C84271
RGBrgb(200, 66, 113)
HSLhsl(339, 55%, 52%)
HSVhsv(339, 67%, 78%)
CMYKcmyk(0%, 67%, 43.5%, 21.6%)
CIE-LABlab(48.72, 56.65, 2.94)
CIE-LCHlch(48.72, 56.73, 2.97°)
OKLaboklab(58.05% 0.1732 0.0082)
OKLCHoklch(58.05% 0.173 2.7)
XYZxyz(28.7504, 17.3716, 17.4586)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C84271 #42C899
analogous
#C842B4 #C84271 #C85642
triadic
#C84271 #71C842 #4271C8
tetradic
#C84271 #B4C842 #42C899 #5642C8
square
#C84271 #B4C842 #42C899 #5642C8
split-complementary
#C84271 #42C856 #42B4C8
monochromatic
#6F203C #9F2E56 #C84271 #D67195 #E4A1B8

Accessibility & contrast

On white

4.69
#C84271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C84271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C84271
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C84271#FFFFFF#000000##FFFFFF
##C842711.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#827D6E
Tritanopia (blue-blind)
#D93055
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c84271;
/* rgb */ color: rgb(200, 66, 113);
/* oklch */ color: oklch(58.1% 0.173 2.7);
Tailwind
colors: {
  custom: {
    50: '#de7f99',
    500: '#c84271',
    950: '#000000',
  },
}
SCSS
$custom: #c84271;
$custom-light: #de7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#c84271",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 338.955,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.17341,
    "h": 2.7
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#C84271
secondary
#96D0BC
accent
#DEAA4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #C84271

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

Preview Lab → · Contrast checker → · Palette generator →

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