#C152BB#C152BB

#C152BB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.189 H 329.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C152BB
RGBrgb(193, 82, 187)
HSLhsl(303, 47%, 54%)
HSVhsv(303, 58%, 76%)
CMYKcmyk(0%, 57.5%, 3.1%, 24.3%)
CIE-LABlab(52.91, 57.85, -34.73)
CIE-LCHlch(52.91, 67.47, 329.02°)
OKLaboklab(61.83% 0.1632 -0.0953)
OKLCHoklch(61.83% 0.189 329.7)
XYZxyz(33.9790, 20.9621, 49.2605)
Luminance0.2096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152BB #52C158
analogous
#9052C1 #C152BB #C15284
triadic
#C152BB #BBC152 #52BBC1
tetradic
#C152BB #C19052 #52C158 #5284C1
square
#C152BB #C19052 #52C158 #5284C1
split-complementary
#C152BB #84C152 #52C190
monochromatic
#70286C #9D3898 #C152BB #D17FCD #E1ACDE

Accessibility & contrast

On white

4.04
#C152BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C152BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152BB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152BB#FFFFFF#000000##000000
##C152BB1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#6E84B8
Tritanopia (blue-blind)
#C75D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c152bb;
/* rgb */ color: rgb(193, 82, 187);
/* oklch */ color: oklch(61.8% 0.189 329.7);
Tailwind
colors: {
  custom: {
    50: '#d689d0',
    500: '#c152bb',
    950: '#000000',
  },
}
SCSS
$custom: #c152bb;
$custom-light: #d689d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c152bb",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 303.243,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.18902,
    "h": 329.7
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#C152BB
secondary
#A0CFA2
accent
#D75851
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C152BB

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

Preview Lab → · Contrast checker → · Palette generator →

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