#C918BB#C918BB

#C918BB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.252 H 332.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C918BB
RGBrgb(201, 24, 187)
HSLhsl(305, 79%, 44%)
HSVhsv(305, 88%, 79%)
CMYKcmyk(0%, 88.1%, 7%, 21.2%)
CIE-LABlab(47.83, 77.65, -42.65)
CIE-LCHlch(47.83, 88.59, 331.22°)
OKLaboklab(58.42% 0.2234 -0.1176)
OKLCHoklch(58.42% 0.252 332.2)
XYZxyz(33.3838, 16.6616, 48.4619)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C918BB #18C926
analogous
#7F18C9 #C918BB #C91863
triadic
#C918BB #BBC918 #18BBC9
tetradic
#C918BB #C97F18 #18C926 #1863C9
square
#C918BB #C97F18 #18C926 #1863C9
split-complementary
#C918BB #63C918 #18C97F
monochromatic
#5C0B55 #921188 #C918BB #E737D9 #EE6EE4

Accessibility & contrast

On white

4.85
#C918BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C918BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C918BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C918BB#FFFFFF#000000##FFFFFF
##C918BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#D2356F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c918bb;
/* rgb */ color: rgb(201, 24, 187);
/* oklch */ color: oklch(58.4% 0.252 332.2);
Tailwind
colors: {
  custom: {
    50: '#de72d0',
    500: '#c918bb',
    950: '#000000',
  },
}
SCSS
$custom: #c918bb;
$custom-light: #de72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c918bb",
  "rgb": {
    "r": 201,
    "g": 24,
    "b": 187
  },
  "hsl": {
    "h": 304.746,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.25243,
    "h": 332.2
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#C918BB
secondary
#69D472
accent
#F54233
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160914
muted
#847B82

Preview Lab

Preview with #C918BB

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

Preview Lab → · Contrast checker → · Palette generator →

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