#C042B0#C042B0

#C042B0 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.202 H 333.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C042B0
RGBrgb(192, 66, 176)
HSLhsl(308, 50%, 51%)
HSVhsv(308, 66%, 75%)
CMYKcmyk(0%, 65.6%, 8.3%, 24.7%)
CIE-LABlab(49.79, 62.54, -33.23)
CIE-LCHlch(49.79, 70.82, 332.02°)
OKLaboklab(59.35% 0.1804 -0.0909)
OKLCHoklch(59.35% 0.202 333.3)
XYZxyz(31.5230, 18.2400, 42.9263)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042B0 #42C052
analogous
#9142C0 #C042B0 #C04271
triadic
#C042B0 #B0C042 #42B0C0
tetradic
#C042B0 #C09142 #42C052 #4271C0
square
#C042B0 #C09142 #42C052 #4271C0
split-complementary
#C042B0 #71C042 #42C091
monochromatic
#66225D #943187 #C042B0 #CF70C3 #DF9ED6

Accessibility & contrast

On white

4.52
#C042B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C042B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042B0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042B0#FFFFFF#000000##000000
##C042B01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB3
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#C84D73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c042b0;
/* rgb */ color: rgb(192, 66, 176);
/* oklch */ color: oklch(59.4% 0.202 333.3);
Tailwind
colors: {
  custom: {
    50: '#d680c8',
    500: '#c042b0',
    950: '#000000',
  },
}
SCSS
$custom: #c042b0;
$custom-light: #d680c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c042b0",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 307.619,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.20199,
    "h": 333.3
  },
  "luminance": 0.18237
}

Semantic roles & 50–950 ramp

primary
#C042B0
secondary
#93CB9A
accent
#DA604E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C042B0

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

Preview Lab → · Contrast checker → · Palette generator →

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