#C154A2#C154A2

#C154A2 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.166 H 339.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C154A2
RGBrgb(193, 84, 162)
HSLhsl(317, 47%, 54%)
HSVhsv(317, 56%, 76%)
CMYKcmyk(0%, 56.5%, 16.1%, 24.3%)
CIE-LABlab(52.16, 52.88, -21.31)
CIE-LCHlch(52.16, 57.02, 338.05°)
OKLaboklab(60.93% 0.1562 -0.0572)
OKLCHoklch(60.93% 0.166 339.9)
XYZxyz(31.6848, 20.2893, 36.4229)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C154A2 #54C173
analogous
#AA54C1 #C154A2 #C1546C
triadic
#C154A2 #A2C154 #54A2C1
tetradic
#C154A2 #C1AA54 #54C173 #546CC1
square
#C154A2 #C1AA54 #54C173 #546CC1
split-complementary
#C154A2 #6CC154 #54C1AA
monochromatic
#71295D #9E3982 #C154A2 #D181BA #E2AED3

Accessibility & contrast

On white

4.15
#C154A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C154A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C154A2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C154A2#FFFFFF#000000##000000
##C154A21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#CB5674
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c154a2;
/* rgb */ color: rgb(193, 84, 162);
/* oklch */ color: oklch(60.9% 0.166 339.9);
Tailwind
colors: {
  custom: {
    50: '#d689bd',
    500: '#c154a2',
    950: '#000000',
  },
}
SCSS
$custom: #c154a2;
$custom-light: #d689bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c154a2",
  "rgb": {
    "r": 193,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 317.064,
    "s": 46.781,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.1664,
    "h": 339.9
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#C154A2
secondary
#A1D0AE
accent
#D67751
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C154A2

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

Preview Lab → · Contrast checker → · Palette generator →

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