#C151B6#C151B6

#C151B6 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.186 H 331.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C151B6
RGBrgb(193, 81, 182)
HSLhsl(306, 47%, 54%)
HSVhsv(306, 58%, 76%)
CMYKcmyk(0%, 58%, 5.7%, 24.3%)
CIE-LABlab(52.51, 57.45, -32.45)
CIE-LCHlch(52.51, 65.98, 330.54°)
OKLaboklab(61.46% 0.1639 -0.0888)
OKLCHoklch(61.46% 0.186 331.5)
XYZxyz(33.3781, 20.6020, 46.4655)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151B6 #51C15C
analogous
#9451C1 #C151B6 #C1517E
triadic
#C151B6 #B6C151 #51B6C1
tetradic
#C151B6 #C19451 #51C15C #517EC1
square
#C151B6 #C19451 #51C15C #517EC1
split-complementary
#C151B6 #7EC151 #51C194
monochromatic
#702869 #9D3893 #C151B6 #D17EC9 #E1ABDC

Accessibility & contrast

On white

4.10
#C151B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C151B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151B6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151B6#FFFFFF#000000##000000
##C151B61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B9
Deuteranopia (green-blind)
#6F83B3
Tritanopia (blue-blind)
#C85B7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c151b6;
/* rgb */ color: rgb(193, 81, 182);
/* oklch */ color: oklch(61.5% 0.186 331.5);
Tailwind
colors: {
  custom: {
    50: '#d688cc',
    500: '#c151b6',
    950: '#000000',
  },
}
SCSS
$custom: #c151b6;
$custom-light: #d688cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c151b6",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 305.893,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.18637,
    "h": 331.5
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#C151B6
secondary
#9FCFA4
accent
#D75E51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151B6

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

Preview Lab → · Contrast checker → · Palette generator →

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