#C045AB#C045AB

#C045AB is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.4% C 0.194 H 335.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C045AB
RGBrgb(192, 69, 171)
HSLhsl(310, 49%, 51%)
HSVhsv(310, 64%, 75%)
CMYKcmyk(0%, 64.1%, 10.9%, 24.7%)
CIE-LABlab(49.98, 60.56, -29.98)
CIE-LCHlch(49.98, 67.58, 333.66°)
OKLaboklab(59.42% 0.1763 -0.0816)
OKLCHoklch(59.42% 0.194 335.1)
XYZxyz(31.2173, 18.4055, 40.4286)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045AB #45C05A
analogous
#9745C0 #C045AB #C0456D
triadic
#C045AB #ABC045 #45ABC0
tetradic
#C045AB #C09745 #45C05A #456DC0
square
#C045AB #C09745 #45C05A #456DC0
split-complementary
#C045AB #6DC045 #45C097
monochromatic
#68235C #953384 #C045AB #CF73C0 #DFA0D4

Accessibility & contrast

On white

4.49
#C045AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C045AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045AB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045AB#FFFFFF#000000##000000
##C045AB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456BAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#C94D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c045ab;
/* rgb */ color: rgb(192, 69, 171);
/* oklch */ color: oklch(59.4% 0.194 335.1);
Tailwind
colors: {
  custom: {
    50: '#d681c4',
    500: '#c045ab',
    950: '#000000',
  },
}
SCSS
$custom: #c045ab;
$custom-light: #d681c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ab",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 310.244,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.19426,
    "h": 335.1
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#C045AB
secondary
#95CC9F
accent
#D9664F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C045AB

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

Preview Lab → · Contrast checker → · Palette generator →

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