#C04262#C04262

#C04262 is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.4% C 0.162 H 8.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C04262
RGBrgb(192, 66, 98)
HSLhsl(345, 50%, 51%)
HSVhsv(345, 66%, 75%)
CMYKcmyk(0%, 65.6%, 49%, 24.7%)
CIE-LABlab(46.96, 52.76, 9.38)
CIE-LCHlch(46.96, 53.58, 10.08°)
OKLaboklab(56.35% 0.1604 0.0243)
OKLCHoklch(56.35% 0.162 8.6)
XYZxyz(25.8931, 15.9880, 13.2754)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04262 #42C0A0
analogous
#C042A1 #C04262 #C06142
triadic
#C04262 #62C042 #4262C0
tetradic
#C04262 #A1C042 #42C0A0 #6142C0
square
#C04262 #A1C042 #42C0A0 #6142C0
split-complementary
#C04262 #42C061 #42A1C0
monochromatic
#662233 #94314A #C04262 #CF7088 #DF9EAE

Accessibility & contrast

On white

5.00
#C04262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C04262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04262
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04262#FFFFFF#000000##FFFFFF
##C042621.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5F63
Deuteranopia (green-blind)
#7F795F
Tritanopia (blue-blind)
#D12E4F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04262;
/* rgb */ color: rgb(192, 66, 98);
/* oklch */ color: oklch(56.4% 0.162 8.6);
Tailwind
colors: {
  custom: {
    50: '#d87e8e',
    500: '#c04262',
    950: '#000000',
  },
}
SCSS
$custom: #c04262;
$custom-light: #d87e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04262",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 344.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.16219,
    "h": 8.6
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#C04262
secondary
#93CBBD
accent
#DAB64E
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#150A0C
muted
#847C7D

Preview Lab

Preview with #C04262

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

Preview Lab → · Contrast checker → · Palette generator →

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