#CF5186#CF5186

#CF5186 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.5% C 0.167 H 357.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF5186
RGBrgb(207, 81, 134)
HSLhsl(335, 57%, 56%)
HSVhsv(335, 61%, 81%)
CMYKcmyk(0%, 60.9%, 35.3%, 18.8%)
CIE-LABlab(52.81, 54.74, -3.57)
CIE-LCHlch(52.81, 54.86, 356.27°)
OKLaboklab(61.51% 0.1671 -0.0087)
OKLCHoklch(61.51% 0.167 357)
XYZxyz(32.9795, 20.8750, 24.8421)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5186 #51CF9A
analogous
#CF51C5 #CF5186 #CF5B51
triadic
#CF5186 #86CF51 #5186CF
tetradic
#CF5186 #C5CF51 #51CF9A #5B51CF
square
#CF5186 #C5CF51 #51CF9A #5B51CF
split-complementary
#CF5186 #51CF5B #51C5CF
monochromatic
#82244B #B23167 #CF5186 #DC81A7 #E9B1C9

Accessibility & contrast

On white

4.06
#CF5186 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF5186 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5186
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5186#FFFFFF#000000##000000
##CF51861.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#DF4766
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5186;
/* rgb */ color: rgb(207, 81, 134);
/* oklch */ color: oklch(61.5% 0.167 357.0);
Tailwind
colors: {
  custom: {
    50: '#e288a9',
    500: '#cf5186',
    950: '#000000',
  },
}
SCSS
$custom: #cf5186;
$custom-light: #e288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5186",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 334.762,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.16728,
    "h": 357
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#CF5186
secondary
#A4D8C2
accent
#E0A048
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5186

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

Preview Lab → · Contrast checker → · Palette generator →

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