#C152AB#C152AB

#C152AB is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.176 H 335.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C152AB
RGBrgb(193, 82, 171)
HSLhsl(312, 47%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 57.5%, 11.4%, 24.3%)
CIE-LABlab(52.19, 55.21, -26.54)
CIE-LCHlch(52.19, 61.26, 334.32°)
OKLaboklab(61.07% 0.1608 -0.072)
OKLCHoklch(61.07% 0.176 335.9)
XYZxyz(32.3606, 20.3148, 40.7369)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152AB #52C168
analogous
#A052C1 #C152AB #C15274
triadic
#C152AB #ABC152 #52ABC1
tetradic
#C152AB #C1A052 #52C168 #5274C1
square
#C152AB #C1A052 #52C168 #5274C1
split-complementary
#C152AB #74C152 #52C1A0
monochromatic
#702862 #9D3889 #C152AB #D17FC1 #E1ACD7

Accessibility & contrast

On white

4.15
#C152AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C152AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152AB#FFFFFF#000000##000000
##C152AB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#7483A8
Tritanopia (blue-blind)
#CA5877
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c152ab;
/* rgb */ color: rgb(193, 82, 171);
/* oklch */ color: oklch(61.1% 0.176 335.9);
Tailwind
colors: {
  custom: {
    50: '#d688c4',
    500: '#c152ab',
    950: '#000000',
  },
}
SCSS
$custom: #c152ab;
$custom-light: #d688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c152ab",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 311.892,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.17616,
    "h": 335.9
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#C152AB
secondary
#A0CFA9
accent
#D76B51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C152AB

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

Preview Lab → · Contrast checker → · Palette generator →

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