#C152AF#C152AF

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

Color values

HEX#C152AF
RGBrgb(193, 82, 175)
HSLhsl(310, 47%, 54%)
HSVhsv(310, 58%, 76%)
CMYKcmyk(0%, 57.5%, 9.3%, 24.3%)
CIE-LABlab(52.36, 55.85, -28.61)
CIE-LCHlch(52.36, 62.75, 332.88°)
OKLaboklab(61.25% 0.1615 -0.0778)
OKLCHoklch(61.25% 0.179 334.3)
XYZxyz(32.7476, 20.4696, 42.7754)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C152AF #52C164
analogous
#9C52C1 #C152AF #C15278
triadic
#C152AF #AFC152 #52AFC1
tetradic
#C152AF #C19C52 #52C164 #5278C1
square
#C152AF #C19C52 #52C164 #5278C1
split-complementary
#C152AF #78C152 #52C19C
monochromatic
#702865 #9D388D #C152AF #D17FC4 #E1ACD9

Accessibility & contrast

On white

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

On black

5.09
#C152AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C152AF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C152AF#FFFFFF#000000##000000
##C152AF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#C95979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c152af;
/* rgb */ color: rgb(193, 82, 175);
/* oklch */ color: oklch(61.3% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#d688c7',
    500: '#c152af',
    950: '#000000',
  },
}
SCSS
$custom: #c152af;
$custom-light: #d688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c152af",
  "rgb": {
    "r": 193,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 309.73,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61252,
    "c": 0.17926,
    "h": 334.3
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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