#C158AE#C158AE

#C158AE is a mid, vivid pink. Relative luminance 0.214; OKLCH L 62.0% C 0.169 H 334.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C158AE
RGBrgb(193, 88, 174)
HSLhsl(311, 46%, 55%)
HSVhsv(311, 54%, 76%)
CMYKcmyk(0%, 54.4%, 9.8%, 24.3%)
CIE-LABlab(53.36, 52.90, -26.49)
CIE-LCHlch(53.36, 59.16, 333.40°)
OKLaboklab(61.97% 0.1532 -0.0719)
OKLCHoklch(61.97% 0.169 334.9)
XYZxyz(33.1222, 21.3753, 42.4175)
Luminance0.2137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C158AE #58C16B
analogous
#9F58C1 #C158AE #C15879
triadic
#C158AE #AEC158 #58AEC1
tetradic
#C158AE #C19F58 #58C16B #5879C1
square
#C158AE #C19F58 #58C16B #5879C1
split-complementary
#C158AE #79C158 #58C19F
monochromatic
#742B67 #A03C8E #C158AE #D285C4 #E2B1D9

Accessibility & contrast

On white

3.98
#C158AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C158AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C158AE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C158AE#FFFFFF#000000##000000
##C158AE1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B1
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#C95E7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c158ae;
/* rgb */ color: rgb(193, 88, 174);
/* oklch */ color: oklch(62.0% 0.169 334.9);
Tailwind
colors: {
  custom: {
    50: '#d68cc6',
    500: '#c158ae',
    950: '#000000',
  },
}
SCSS
$custom: #c158ae;
$custom-light: #d68cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c158ae",
  "rgb": {
    "r": 193,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 310.857,
    "s": 45.852,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.16918,
    "h": 334.9
  },
  "luminance": 0.21373
}

Semantic roles & 50–950 ramp

primary
#C158AE
secondary
#A4D0AC
accent
#D66A52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C158AE

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

Preview Lab → · Contrast checker → · Palette generator →

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