#C34872#C34872

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

Color values

HEX#C34872
RGBrgb(195, 72, 114)
HSLhsl(340, 51%, 52%)
HSVhsv(340, 63%, 76%)
CMYKcmyk(0%, 63.1%, 41.5%, 23.5%)
CIE-LABlab(48.83, 52.71, 2.38)
CIE-LCHlch(48.83, 52.77, 2.58°)
OKLaboklab(57.98% 0.161 0.0068)
OKLCHoklch(57.98% 0.161 2.4)
XYZxyz(27.8622, 17.4550, 17.8182)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C34872 #48C399
analogous
#C348B0 #C34872 #C35C48
triadic
#C34872 #72C348 #4872C3
tetradic
#C34872 #B0C348 #48C399 #5C48C3
square
#C34872 #B0C348 #48C399 #5C48C3
split-complementary
#C34872 #48C35C #48B0C3
monochromatic
#6D243D #9B3356 #C34872 #D27696 #E1A4B9

Accessibility & contrast

On white

4.68
#C34872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C34872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C34872
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C34872#FFFFFF#000000##FFFFFF
##C348721.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#817D6F
Tritanopia (blue-blind)
#D33A58
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c34872;
/* rgb */ color: rgb(195, 72, 114);
/* oklch */ color: oklch(58.0% 0.161 2.4);
Tailwind
colors: {
  custom: {
    50: '#da829a',
    500: '#c34872',
    950: '#000000',
  },
}
SCSS
$custom: #c34872;
$custom-light: #da829a;
$custom-dark: #000000;
JSON
{
  "hex": "#c34872",
  "rgb": {
    "r": 195,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 339.512,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.16113,
    "h": 2.4
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#C34872
secondary
#99CEBC
accent
#DAAA4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E

Preview Lab

Preview with #C34872

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

Preview Lab → · Contrast checker → · Palette generator →

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