#C042B3#C042B3

#C042B3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.204 H 332.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C042B3
RGBrgb(192, 66, 179)
HSLhsl(306, 50%, 51%)
HSVhsv(306, 66%, 75%)
CMYKcmyk(0%, 65.6%, 6.8%, 24.7%)
CIE-LABlab(49.93, 63.01, -34.76)
CIE-LCHlch(49.93, 71.96, 331.12°)
OKLaboklab(59.5% 0.1807 -0.0953)
OKLCHoklch(59.5% 0.204 332.2)
XYZxyz(31.8232, 18.3600, 44.5068)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042B3 #42C04F
analogous
#8E42C0 #C042B3 #C04274
triadic
#C042B3 #B3C042 #42B3C0
tetradic
#C042B3 #C08E42 #42C04F #4274C0
square
#C042B3 #C08E42 #42C04F #4274C0
split-complementary
#C042B3 #74C042 #42C08E
monochromatic
#66225F #943189 #C042B3 #CF70C5 #DF9ED8

Accessibility & contrast

On white

4.50
#C042B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C042B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042B3#FFFFFF#000000##000000
##C042B31.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB6
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#C84E75
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c042b3;
/* rgb */ color: rgb(192, 66, 179);
/* oklch */ color: oklch(59.5% 0.204 332.2);
Tailwind
colors: {
  custom: {
    50: '#d680ca',
    500: '#c042b3',
    950: '#000000',
  },
}
SCSS
$custom: #c042b3;
$custom-light: #d680ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c042b3",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 306.19,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.20427,
    "h": 332.2
  },
  "luminance": 0.18358
}

Semantic roles & 50–950 ramp

primary
#C042B3
secondary
#93CB99
accent
#DA5D4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C042B3

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

Preview Lab → · Contrast checker → · Palette generator →

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