#C151B9#C151B9

#C151B9 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.189 H 330.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C151B9
RGBrgb(193, 81, 185)
HSLhsl(304, 47%, 54%)
HSVhsv(304, 58%, 76%)
CMYKcmyk(0%, 58%, 4.1%, 24.3%)
CIE-LABlab(52.65, 57.95, -33.98)
CIE-LCHlch(52.65, 67.18, 329.62°)
OKLaboklab(61.61% 0.1643 -0.0932)
OKLCHoklch(61.61% 0.189 330.4)
XYZxyz(33.6915, 20.7274, 48.1158)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151B9 #51C159
analogous
#9151C1 #C151B9 #C15181
triadic
#C151B9 #B9C151 #51B9C1
tetradic
#C151B9 #C19151 #51C159 #5181C1
square
#C151B9 #C19151 #51C159 #5181C1
split-complementary
#C151B9 #81C151 #51C191
monochromatic
#70286B #9D3896 #C151B9 #D17ECB #E1ABDD

Accessibility & contrast

On white

4.08
#C151B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C151B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151B9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151B9#FFFFFF#000000##000000
##C151B91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#6E83B6
Tritanopia (blue-blind)
#C85C7D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c151b9;
/* rgb */ color: rgb(193, 81, 185);
/* oklch */ color: oklch(61.6% 0.189 330.4);
Tailwind
colors: {
  custom: {
    50: '#d688ce',
    500: '#c151b9',
    950: '#000000',
  },
}
SCSS
$custom: #c151b9;
$custom-light: #d688ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c151b9",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 304.286,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.18883,
    "h": 330.4
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#C151B9
secondary
#9FCFA2
accent
#D75A51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C151B9

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

Preview Lab → · Contrast checker → · Palette generator →

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