#C04270#C04270

#C04270 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.166 H 1.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04270
RGBrgb(192, 66, 112)
HSLhsl(338, 50%, 51%)
HSVhsv(338, 66%, 75%)
CMYKcmyk(0%, 65.6%, 41.7%, 24.7%)
CIE-LABlab(47.33, 54.11, 1.36)
CIE-LCHlch(47.33, 54.13, 1.44°)
OKLaboklab(56.75% 0.1655 0.0042)
OKLCHoklch(56.75% 0.166 1.4)
XYZxyz(26.6129, 16.2759, 17.0662)
Luminance0.1627 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04270 #42C092
analogous
#C042AF #C04270 #C05342
triadic
#C04270 #70C042 #4270C0
tetradic
#C04270 #AFC042 #42C092 #5342C0
square
#C04270 #AFC042 #42C092 #5342C0
split-complementary
#C04270 #42C053 #42AFC0
monochromatic
#66223B #943155 #C04270 #CF7093 #DF9EB5

Accessibility & contrast

On white

4.94
#C04270 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C04270 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04270
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04270#FFFFFF#000000##FFFFFF
##C042701.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6171
Deuteranopia (green-blind)
#7D796D
Tritanopia (blue-blind)
#D03354
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04270;
/* rgb */ color: rgb(192, 66, 112);
/* oklch */ color: oklch(56.8% 0.166 1.4);
Tailwind
colors: {
  custom: {
    50: '#d87e98',
    500: '#c04270',
    950: '#000000',
  },
}
SCSS
$custom: #c04270;
$custom-light: #d87e98;
$custom-dark: #000000;
JSON
{
  "hex": "#c04270",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 112
  },
  "hsl": {
    "h": 338.095,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.16552,
    "h": 1.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#C04270
secondary
#93CBB6
accent
#DAA74E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #C04270

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

Preview Lab → · Contrast checker → · Palette generator →

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