#C151A1#C151A1

#C151A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.5% C 0.170 H 340.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C151A1
RGBrgb(193, 81, 161)
HSLhsl(317, 47%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 58%, 16.6%, 24.3%)
CIE-LABlab(51.61, 54.12, -21.58)
CIE-LCHlch(51.61, 58.26, 338.26°)
OKLaboklab(60.5% 0.1601 -0.0579)
OKLCHoklch(60.5% 0.17 340.1)
XYZxyz(31.3684, 19.7981, 35.8806)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A1 #51C171
analogous
#A951C1 #C151A1 #C15169
triadic
#C151A1 #A1C151 #51A1C1
tetradic
#C151A1 #C1A951 #51C171 #5169C1
square
#C151A1 #C1A951 #51C171 #5169C1
split-complementary
#C151A1 #69C151 #51C1A9
monochromatic
#70285B #9D3880 #C151A1 #D17EB9 #E1ABD2

Accessibility & contrast

On white

4.23
#C151A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C151A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A1#FFFFFF#000000##000000
##C151A11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#77829E
Tritanopia (blue-blind)
#CB5372
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c151a1;
/* rgb */ color: rgb(193, 81, 161);
/* oklch */ color: oklch(60.5% 0.170 340.1);
Tailwind
colors: {
  custom: {
    50: '#d787bd',
    500: '#c151a1',
    950: '#000000',
  },
}
SCSS
$custom: #c151a1;
$custom-light: #d787bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a1",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 317.143,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.17031,
    "h": 340.1
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#C151A1
secondary
#9FCFAD
accent
#D77751
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151A1

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

Preview Lab → · Contrast checker → · Palette generator →

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