#C152A1#C152A1

#C152A1 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.169 H 340.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C152A1
RGBrgb(193, 82, 161)
HSLhsl(317, 47%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 57.5%, 16.6%, 24.3%)
CIE-LABlab(51.78, 53.66, -21.32)
CIE-LCHlch(51.78, 57.74, 338.33°)
OKLaboklab(60.63% 0.1588 -0.0572)
OKLCHoklch(60.63% 0.169 340.2)
XYZxyz(31.4432, 19.9478, 35.9056)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152A1 #52C172
analogous
#AA52C1 #C152A1 #C1526A
triadic
#C152A1 #A1C152 #52A1C1
tetradic
#C152A1 #C1AA52 #52C172 #526AC1
square
#C152A1 #C1AA52 #52C172 #526AC1
split-complementary
#C152A1 #6AC152 #52C1AA
monochromatic
#70285C #9D3880 #C152A1 #D17FB9 #E1ACD2

Accessibility & contrast

On white

4.21
#C152A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C152A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152A1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152A1#FFFFFF#000000##000000
##C152A11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5870A4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#CB5472
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c152a1;
/* rgb */ color: rgb(193, 82, 161);
/* oklch */ color: oklch(60.6% 0.169 340.2);
Tailwind
colors: {
  custom: {
    50: '#d688bd',
    500: '#c152a1',
    950: '#000000',
  },
}
SCSS
$custom: #c152a1;
$custom-light: #d688bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c152a1",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 317.297,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.16878,
    "h": 340.2
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#C152A1
secondary
#A0CFAD
accent
#D77851
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C152A1

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

Preview Lab → · Contrast checker → · Palette generator →

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