#C152A8#C152A8

#C152A8 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.174 H 337.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C152A8
RGBrgb(193, 82, 168)
HSLhsl(314, 47%, 54%)
HSVhsv(314, 58%, 76%)
CMYKcmyk(0%, 57.5%, 13%, 24.3%)
CIE-LABlab(52.06, 54.74, -24.98)
CIE-LCHlch(52.06, 60.17, 335.47°)
OKLaboklab(60.93% 0.1602 -0.0675)
OKLCHoklch(60.93% 0.174 337.1)
XYZxyz(32.0779, 20.2017, 39.2480)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152A8 #52C16B
analogous
#A352C1 #C152A8 #C15271
triadic
#C152A8 #A8C152 #52A8C1
tetradic
#C152A8 #C1A352 #52C16B #5271C1
square
#C152A8 #C1A352 #52C16B #5271C1
split-complementary
#C152A8 #71C152 #52C1A3
monochromatic
#702860 #9D3887 #C152A8 #D17FBF #E1ACD5

Accessibility & contrast

On white

4.17
#C152A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C152A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152A8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152A8#FFFFFF#000000##000000
##C152A81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#CA5776
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c152a8;
/* rgb */ color: rgb(193, 82, 168);
/* oklch */ color: oklch(60.9% 0.174 337.1);
Tailwind
colors: {
  custom: {
    50: '#d688c2',
    500: '#c152a8',
    950: '#000000',
  },
}
SCSS
$custom: #c152a8;
$custom-light: #d688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c152a8",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 313.514,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.17388,
    "h": 337.1
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#C152A8
secondary
#A0CFAA
accent
#D76F51
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C152A8

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

Preview Lab → · Contrast checker → · Palette generator →

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