#C045B6#C045B6

#C045B6 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.203 H 331.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C045B6
RGBrgb(192, 69, 182)
HSLhsl(305, 49%, 51%)
HSVhsv(305, 64%, 75%)
CMYKcmyk(0%, 64.1%, 5.2%, 24.7%)
CIE-LABlab(50.50, 62.31, -35.61)
CIE-LCHlch(50.50, 71.76, 330.25°)
OKLaboklab(59.97% 0.1775 -0.0978)
OKLCHoklch(59.97% 0.203 331.2)
XYZxyz(32.3098, 18.8425, 46.1821)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B6 #45C04F
analogous
#8C45C0 #C045B6 #C04578
triadic
#C045B6 #B6C045 #45B6C0
tetradic
#C045B6 #C08C45 #45C04F #4578C0
square
#C045B6 #C08C45 #45C04F #4578C0
split-complementary
#C045B6 #78C045 #45C08C
monochromatic
#682362 #95338D #C045B6 #CF73C8 #DFA0DA

Accessibility & contrast

On white

4.40
#C045B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C045B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045B6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045B6#FFFFFF#000000##000000
##C045B61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB9
Deuteranopia (green-blind)
#687EB3
Tritanopia (blue-blind)
#C75177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b6;
/* rgb */ color: rgb(192, 69, 182);
/* oklch */ color: oklch(60.0% 0.203 331.2);
Tailwind
colors: {
  custom: {
    50: '#d681cc',
    500: '#c045b6',
    950: '#000000',
  },
}
SCSS
$custom: #c045b6;
$custom-light: #d681cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b6",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 304.878,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59967,
    "c": 0.20266,
    "h": 331.2
  },
  "luminance": 0.1884
}

Semantic roles & 50–950 ramp

primary
#C045B6
secondary
#95CC9A
accent
#D95A4F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045B6

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

Preview Lab → · Contrast checker → · Palette generator →

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