#C918BF#C918BF

#C918BF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.6% C 0.255 H 331.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C918BF
RGBrgb(201, 24, 191)
HSLhsl(303, 79%, 44%)
HSVhsv(303, 88%, 79%)
CMYKcmyk(0%, 88.1%, 5%, 21.2%)
CIE-LABlab(48.05, 78.22, -44.63)
CIE-LCHlch(48.05, 90.05, 330.29°)
OKLaboklab(58.65% 0.2232 -0.1234)
OKLCHoklch(58.65% 0.255 331.1)
XYZxyz(33.8180, 16.8353, 50.7485)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C918BF #18C922
analogous
#7B18C9 #C918BF #C91867
triadic
#C918BF #BFC918 #18BFC9
tetradic
#C918BF #C97B18 #18C922 #1867C9
square
#C918BF #C97B18 #18C922 #1867C9
split-complementary
#C918BF #67C918 #18C97B
monochromatic
#5C0B57 #92118B #C918BF #E737DD #EE6EE6

Accessibility & contrast

On white

4.81
#C918BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C918BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C918BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C918BF#FFFFFF#000000##FFFFFF
##C918BF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#D13872
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c918bf;
/* rgb */ color: rgb(201, 24, 191);
/* oklch */ color: oklch(58.6% 0.255 331.1);
Tailwind
colors: {
  custom: {
    50: '#de72d3',
    500: '#c918bf',
    950: '#000000',
  },
}
SCSS
$custom: #c918bf;
$custom-light: #de72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c918bf",
  "rgb": {
    "r": 201,
    "g": 24,
    "b": 191
  },
  "hsl": {
    "h": 303.39,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.25505,
    "h": 331.1
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#C918BF
secondary
#69D46F
accent
#F53E33
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160914
muted
#847B83

Preview Lab

Preview with #C918BF

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

Preview Lab → · Contrast checker → · Palette generator →

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