#CF5187#CF5187

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

Color values

HEX#CF5187
RGBrgb(207, 81, 135)
HSLhsl(334, 57%, 56%)
HSVhsv(334, 61%, 81%)
CMYKcmyk(0%, 60.9%, 34.8%, 18.8%)
CIE-LABlab(52.84, 54.86, -4.12)
CIE-LCHlch(52.84, 55.01, 355.71°)
OKLaboklab(61.54% 0.1674 -0.0101)
OKLCHoklch(61.54% 0.168 356.5)
XYZxyz(33.0495, 20.9031, 25.2112)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5187 #51CF99
analogous
#CF51C6 #CF5187 #CF5A51
triadic
#CF5187 #87CF51 #5187CF
tetradic
#CF5187 #C6CF51 #51CF99 #5A51CF
square
#CF5187 #C6CF51 #51CF99 #5A51CF
split-complementary
#CF5187 #51CF5A #51C6CF
monochromatic
#82244C #B23168 #CF5187 #DC81A8 #E9B1C9

Accessibility & contrast

On white

4.05
#CF5187 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF5187 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5187
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5187#FFFFFF#000000##000000
##CF51871.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F89
Deuteranopia (green-blind)
#888784
Tritanopia (blue-blind)
#DE4766
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5187;
/* rgb */ color: rgb(207, 81, 135);
/* oklch */ color: oklch(61.5% 0.168 356.5);
Tailwind
colors: {
  custom: {
    50: '#e288a9',
    500: '#cf5187',
    950: '#000000',
  },
}
SCSS
$custom: #cf5187;
$custom-light: #e288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5187",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 135
  },
  "hsl": {
    "h": 334.286,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.16769,
    "h": 356.5
  },
  "luminance": 0.209
}

Semantic roles & 50–950 ramp

primary
#CF5187
secondary
#A4D8C2
accent
#E09F48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5187

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

Preview Lab → · Contrast checker → · Palette generator →

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