#CF5087#CF5087

#CF5087 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.169 H 356.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF5087
RGBrgb(207, 80, 135)
HSLhsl(334, 57%, 56%)
HSVhsv(334, 61%, 81%)
CMYKcmyk(0%, 61.4%, 34.8%, 18.8%)
CIE-LABlab(52.68, 55.30, -4.36)
CIE-LCHlch(52.68, 55.47, 355.50°)
OKLaboklab(61.42% 0.1687 -0.0108)
OKLCHoklch(61.42% 0.169 356.4)
XYZxyz(32.9758, 20.7555, 25.1866)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5087 #50CF98
analogous
#CF50C7 #CF5087 #CF5950
triadic
#CF5087 #87CF50 #5087CF
tetradic
#CF5087 #C7CF50 #50CF98 #5950CF
square
#CF5087 #C7CF50 #50CF98 #5950CF
split-complementary
#CF5087 #50CF59 #50C7CF
monochromatic
#81234C #B13168 #CF5087 #DC80A8 #E9B0C9

Accessibility & contrast

On white

4.08
#CF5087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF5087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5087
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5087#FFFFFF#000000##000000
##CF50871.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DE4666
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5087;
/* rgb */ color: rgb(207, 80, 135);
/* oklch */ color: oklch(61.4% 0.169 356.4);
Tailwind
colors: {
  custom: {
    50: '#e288a9',
    500: '#cf5087',
    950: '#000000',
  },
}
SCSS
$custom: #cf5087;
$custom-light: #e288a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5087",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 334.016,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61419,
    "c": 0.16908,
    "h": 356.4
  },
  "luminance": 0.20752
}

Semantic roles & 50–950 ramp

primary
#CF5087
secondary
#A3D8C1
accent
#E09E48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF5087

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

Preview Lab → · Contrast checker → · Palette generator →

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