#C152A4#C152A4

#C152A4 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.8% C 0.171 H 338.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C152A4
RGBrgb(193, 82, 164)
HSLhsl(316, 47%, 54%)
HSVhsv(316, 58%, 76%)
CMYKcmyk(0%, 57.5%, 15%, 24.3%)
CIE-LABlab(51.90, 54.12, -22.89)
CIE-LCHlch(51.90, 58.76, 337.07°)
OKLaboklab(60.76% 0.1594 -0.0616)
OKLCHoklch(60.76% 0.171 338.9)
XYZxyz(31.7109, 20.0549, 37.3156)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152A4 #52C16F
analogous
#A752C1 #C152A4 #C1526D
triadic
#C152A4 #A4C152 #52A4C1
tetradic
#C152A4 #C1A752 #52C16F #526DC1
square
#C152A4 #C1A752 #52C16F #526DC1
split-complementary
#C152A4 #6DC152 #52C1A7
monochromatic
#70285E #9D3883 #C152A4 #D17FBC #E1ACD3

Accessibility & contrast

On white

4.19
#C152A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C152A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152A4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152A4#FFFFFF#000000##000000
##C152A41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A7
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#CB5574
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c152a4;
/* rgb */ color: rgb(193, 82, 164);
/* oklch */ color: oklch(60.8% 0.171 338.9);
Tailwind
colors: {
  custom: {
    50: '#d688bf',
    500: '#c152a4',
    950: '#000000',
  },
}
SCSS
$custom: #c152a4;
$custom-light: #d688bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c152a4",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 315.676,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.17093,
    "h": 338.9
  },
  "luminance": 0.20052
}

Semantic roles & 50–950 ramp

primary
#C152A4
secondary
#A0CFAC
accent
#D77451
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C152A4

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

Preview Lab → · Contrast checker → · Palette generator →

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