#C152A2#C152A2

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

Color values

HEX#C152A2
RGBrgb(193, 82, 162)
HSLhsl(317, 47%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 57.5%, 16.1%, 24.3%)
CIE-LABlab(51.82, 53.81, -21.84)
CIE-LCHlch(51.82, 58.07, 337.91°)
OKLaboklab(60.67% 0.159 -0.0587)
OKLCHoklch(60.67% 0.169 339.7)
XYZxyz(31.5317, 19.9833, 36.3719)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152A2 #52C171
analogous
#A952C1 #C152A2 #C1526B
triadic
#C152A2 #A2C152 #52A2C1
tetradic
#C152A2 #C1A952 #52C171 #526BC1
square
#C152A2 #C1A952 #52C171 #526BC1
split-complementary
#C152A2 #6BC152 #52C1A9
monochromatic
#70285C #9D3881 #C152A2 #D17FBA #E1ACD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C152A2#FFFFFF#000000##000000
##C152A21.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)
#5770A5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#CB5573
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c152a2;
/* rgb */ color: rgb(193, 82, 162);
/* oklch */ color: oklch(60.7% 0.169 339.7);
Tailwind
colors: {
  custom: {
    50: '#d688bd',
    500: '#c152a2',
    950: '#000000',
  },
}
SCSS
$custom: #c152a2;
$custom-light: #d688bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c152a2",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 316.757,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60671,
    "c": 0.16949,
    "h": 339.7
  },
  "luminance": 0.19981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C152A2

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

Preview Lab → · Contrast checker → · Palette generator →

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