#C152B0#C152B0

#C152B0 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.180 H 333.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C152B0
RGBrgb(193, 82, 176)
HSLhsl(309, 47%, 54%)
HSVhsv(309, 58%, 76%)
CMYKcmyk(0%, 57.5%, 8.8%, 24.3%)
CIE-LABlab(52.41, 56.01, -29.12)
CIE-LCHlch(52.41, 63.13, 332.53°)
OKLaboklab(61.3% 0.1616 -0.0793)
OKLCHoklch(61.3% 0.18 333.9)
XYZxyz(32.8462, 20.5090, 43.2945)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152B0 #52C163
analogous
#9B52C1 #C152B0 #C15279
triadic
#C152B0 #B0C152 #52B0C1
tetradic
#C152B0 #C19B52 #52C163 #5279C1
square
#C152B0 #C19B52 #52C163 #5279C1
split-complementary
#C152B0 #79C152 #52C19B
monochromatic
#702865 #9D388E #C152B0 #D17FC5 #E1ACD9

Accessibility & contrast

On white

4.12
#C152B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C152B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152B0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152B0#FFFFFF#000000##000000
##C152B01.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B3
Deuteranopia (green-blind)
#7283AD
Tritanopia (blue-blind)
#C95979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c152b0;
/* rgb */ color: rgb(193, 82, 176);
/* oklch */ color: oklch(61.3% 0.180 333.9);
Tailwind
colors: {
  custom: {
    50: '#d688c8',
    500: '#c152b0',
    950: '#000000',
  },
}
SCSS
$custom: #c152b0;
$custom-light: #d688c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c152b0",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 309.189,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61298,
    "c": 0.18005,
    "h": 333.9
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#C152B0
secondary
#A0CFA7
accent
#D76551
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C152B0

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

Preview Lab → · Contrast checker → · Palette generator →

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