#C151A3#C151A3

#C151A3 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.6% C 0.172 H 339.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C151A3
RGBrgb(193, 81, 163)
HSLhsl(316, 47%, 54%)
HSVhsv(316, 58%, 76%)
CMYKcmyk(0%, 58%, 15.5%, 24.3%)
CIE-LABlab(51.69, 54.42, -22.63)
CIE-LCHlch(51.69, 58.94, 337.42°)
OKLaboklab(60.59% 0.1606 -0.0609)
OKLCHoklch(60.59% 0.172 339.2)
XYZxyz(31.5461, 19.8692, 36.8169)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C151A3 #51C16F
analogous
#A751C1 #C151A3 #C1516B
triadic
#C151A3 #A3C151 #51A3C1
tetradic
#C151A3 #C1A751 #51C16F #516BC1
square
#C151A3 #C1A751 #51C16F #516BC1
split-complementary
#C151A3 #6BC151 #51C1A7
monochromatic
#70285D #9D3882 #C151A3 #D17EBB #E1ABD3

Accessibility & contrast

On white

4.22
#C151A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C151A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C151A3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C151A3#FFFFFF#000000##000000
##C151A31.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A6
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#CB5473
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c151a3;
/* rgb */ color: rgb(193, 81, 163);
/* oklch */ color: oklch(60.6% 0.172 339.2);
Tailwind
colors: {
  custom: {
    50: '#d787be',
    500: '#c151a3',
    950: '#000000',
  },
}
SCSS
$custom: #c151a3;
$custom-light: #d787be;
$custom-dark: #000000;
JSON
{
  "hex": "#c151a3",
  "rgb": {
    "r": 193,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 316.071,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.17173,
    "h": 339.2
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#C151A3
secondary
#9FCFAC
accent
#D77551
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C151A3

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

Preview Lab → · Contrast checker → · Palette generator →

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