#C04070#C04070

#C04070 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.5% C 0.168 H 1.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C04070
RGBrgb(192, 64, 112)
HSLhsl(338, 50%, 50%)
HSVhsv(338, 67%, 75%)
CMYKcmyk(0%, 66.7%, 41.7%, 24.7%)
CIE-LABlab(47.04, 54.93, 0.93)
CIE-LCHlch(47.04, 54.94, 0.97°)
OKLaboklab(56.53% 0.1681 0.0031)
OKLCHoklch(56.53% 0.168 1)
XYZxyz(26.4981, 16.0463, 17.0279)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04070 #40C090
analogous
#C040B0 #C04070 #C05040
triadic
#C04070 #70C040 #4070C0
tetradic
#C04070 #B0C040 #40C090 #5040C0
square
#C04070 #B0C040 #40C090 #5040C0
split-complementary
#C04070 #40C050 #40B0C0
monochromatic
#64213A #923055 #C04070 #CF6E92 #DE9CB5

Accessibility & contrast

On white

4.99
#C04070 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04070
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04070#FFFFFF#000000##FFFFFF
##C040701.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596071
Deuteranopia (green-blind)
#7C796D
Tritanopia (blue-blind)
#D03153
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04070;
/* rgb */ color: rgb(192, 64, 112);
/* oklch */ color: oklch(56.5% 0.168 1.0);
Tailwind
colors: {
  custom: {
    50: '#d87d98',
    500: '#c04070',
    950: '#000000',
  },
}
SCSS
$custom: #c04070;
$custom-light: #d87d98;
$custom-dark: #000000;
JSON
{
  "hex": "#c04070",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 112
  },
  "hsl": {
    "h": 337.5,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.16809,
    "h": 1
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#C04070
secondary
#91CBB5
accent
#DAA54E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #C04070

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

Preview Lab → · Contrast checker → · Palette generator →

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