#C154A7#C154A7

#C154A7 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.170 H 337.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C154A7
RGBrgb(193, 84, 167)
HSLhsl(314, 47%, 54%)
HSVhsv(314, 56%, 76%)
CMYKcmyk(0%, 56.5%, 13.5%, 24.3%)
CIE-LABlab(52.37, 53.66, -23.93)
CIE-LCHlch(52.37, 58.75, 335.96°)
OKLaboklab(61.14% 0.1573 -0.0646)
OKLCHoklch(61.14% 0.17 337.7)
XYZxyz(32.1381, 20.4706, 38.8103)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154A7 #54C16E
analogous
#A554C1 #C154A7 #C15471
triadic
#C154A7 #A7C154 #54A7C1
tetradic
#C154A7 #C1A554 #54C16E #5471C1
square
#C154A7 #C1A554 #54C16E #5471C1
split-complementary
#C154A7 #71C154 #54C1A5
monochromatic
#712960 #9E3986 #C154A7 #D181BE #E2AED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C154A7#FFFFFF#000000##000000
##C154A71.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)
#5772AA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#CA5876
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c154a7;
/* rgb */ color: rgb(193, 84, 167);
/* oklch */ color: oklch(61.1% 0.170 337.7);
Tailwind
colors: {
  custom: {
    50: '#d689c1',
    500: '#c154a7',
    950: '#000000',
  },
}
SCSS
$custom: #c154a7;
$custom-light: #d689c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c154a7",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 314.312,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61141,
    "c": 0.17005,
    "h": 337.7
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#C154A7
secondary
#A1D0AC
accent
#D67151
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C154A7

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

Preview Lab → · Contrast checker → · Palette generator →

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