#C152B7#C152B7

#C152B7 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.186 H 331.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C152B7
RGBrgb(193, 82, 183)
HSLhsl(305, 47%, 54%)
HSVhsv(305, 58%, 76%)
CMYKcmyk(0%, 57.5%, 5.2%, 24.3%)
CIE-LABlab(52.72, 57.17, -32.70)
CIE-LCHlch(52.72, 65.86, 330.23°)
OKLaboklab(61.63% 0.1627 -0.0895)
OKLCHoklch(61.63% 0.186 331.2)
XYZxyz(33.5567, 20.7932, 47.0366)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152B7 #52C15C
analogous
#9452C1 #C152B7 #C15280
triadic
#C152B7 #B7C152 #52B7C1
tetradic
#C152B7 #C19452 #52C15C #5280C1
square
#C152B7 #C19452 #52C15C #5280C1
split-complementary
#C152B7 #80C152 #52C194
monochromatic
#70286A #9D3894 #C152B7 #D17FCA #E1ACDD

Accessibility & contrast

On white

4.07
#C152B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C152B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152B7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152B7#FFFFFF#000000##000000
##C152B71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#7083B4
Tritanopia (blue-blind)
#C85C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c152b7;
/* rgb */ color: rgb(193, 82, 183);
/* oklch */ color: oklch(61.6% 0.186 331.2);
Tailwind
colors: {
  custom: {
    50: '#d689cd',
    500: '#c152b7',
    950: '#000000',
  },
}
SCSS
$custom: #c152b7;
$custom-light: #d689cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c152b7",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 305.405,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.1857,
    "h": 331.2
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#C152B7
secondary
#A0CFA4
accent
#D75D51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C152B7

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

Preview Lab → · Contrast checker → · Palette generator →

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