#C04071#C04071

#C04071 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.168 H 0.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C04071
RGBrgb(192, 64, 113)
HSLhsl(337, 50%, 50%)
HSVhsv(337, 67%, 75%)
CMYKcmyk(0%, 66.7%, 41.1%, 24.7%)
CIE-LABlab(47.06, 55.03, 0.36)
CIE-LCHlch(47.06, 55.04, 0.38°)
OKLaboklab(56.56% 0.1684 0.0016)
OKLCHoklch(56.56% 0.168 0.5)
XYZxyz(26.5541, 16.0687, 17.3228)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04071 #40C08F
analogous
#C040B1 #C04071 #C04F40
triadic
#C04071 #71C040 #4071C0
tetradic
#C04071 #B1C040 #40C08F #4F40C0
square
#C04071 #B1C040 #40C08F #4F40C0
split-complementary
#C04071 #40C04F #40B1C0
monochromatic
#64213B #923056 #C04071 #CF6E93 #DE9CB5

Accessibility & contrast

On white

4.98
#C04071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C04071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04071
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04071#FFFFFF#000000##FFFFFF
##C040711.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596072
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#D03154
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04071;
/* rgb */ color: rgb(192, 64, 113);
/* oklch */ color: oklch(56.6% 0.168 0.5);
Tailwind
colors: {
  custom: {
    50: '#d87d99',
    500: '#c04071',
    950: '#000000',
  },
}
SCSS
$custom: #c04071;
$custom-light: #d87d99;
$custom-dark: #000000;
JSON
{
  "hex": "#c04071",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 337.031,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.16842,
    "h": 0.5
  },
  "luminance": 0.16066
}

Semantic roles & 50–950 ramp

primary
#C04071
secondary
#91CBB5
accent
#DAA44E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04071

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

Preview Lab → · Contrast checker → · Palette generator →

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