#C152A3#C152A3

#C152A3 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.170 H 339.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C152A3
RGBrgb(193, 82, 163)
HSLhsl(316, 47%, 54%)
HSVhsv(316, 58%, 76%)
CMYKcmyk(0%, 57.5%, 15.5%, 24.3%)
CIE-LABlab(51.86, 53.96, -22.37)
CIE-LCHlch(51.86, 58.41, 337.49°)
OKLaboklab(60.71% 0.1592 -0.0602)
OKLCHoklch(60.71% 0.17 339.3)
XYZxyz(31.6210, 20.0190, 36.8419)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152A3 #52C170
analogous
#A852C1 #C152A3 #C1526C
triadic
#C152A3 #A3C152 #52A3C1
tetradic
#C152A3 #C1A852 #52C170 #526CC1
square
#C152A3 #C1A852 #52C170 #526CC1
split-complementary
#C152A3 #6CC152 #52C1A8
monochromatic
#70285D #9D3882 #C152A3 #D17FBB #E1ACD3

Accessibility & contrast

On white

4.20
#C152A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C152A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152A3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152A3#FFFFFF#000000##000000
##C152A31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#CB5573
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c152a3;
/* rgb */ color: rgb(193, 82, 163);
/* oklch */ color: oklch(60.7% 0.170 339.3);
Tailwind
colors: {
  custom: {
    50: '#d688be',
    500: '#c152a3',
    950: '#000000',
  },
}
SCSS
$custom: #c152a3;
$custom-light: #d688be;
$custom-dark: #000000;
JSON
{
  "hex": "#c152a3",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 316.216,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.1702,
    "h": 339.3
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C152A3

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

Preview Lab → · Contrast checker → · Palette generator →

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