#CF5786#CF5786

#CF5786 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.159 H 358.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CF5786
RGBrgb(207, 87, 134)
HSLhsl(337, 56%, 58%)
HSVhsv(337, 58%, 81%)
CMYKcmyk(0%, 58%, 35.3%, 18.8%)
CIE-LABlab(53.82, 52.04, -2.08)
CIE-LCHlch(53.82, 52.08, 357.71°)
OKLaboklab(62.26% 0.1586 -0.0048)
OKLCHoklch(62.26% 0.159 358.3)
XYZxyz(33.4452, 21.8065, 24.9974)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5786 #57CFA0
analogous
#CF57C2 #CF5786 #CF6457
triadic
#CF5786 #86CF57 #5786CF
tetradic
#CF5786 #C2CF57 #57CFA0 #6457CF
square
#CF5786 #C2CF57 #57CFA0 #6457CF
split-complementary
#CF5786 #57CF64 #57C2CF
monochromatic
#85264B #B53466 #CF5786 #DD87A8 #EAB6CB

Accessibility & contrast

On white

3.92
#CF5786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CF5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5786
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5786#FFFFFF#000000##000000
##CF57861.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7387
Deuteranopia (green-blind)
#8B8983
Tritanopia (blue-blind)
#DE4D69
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf5786;
/* rgb */ color: rgb(207, 87, 134);
/* oklch */ color: oklch(62.3% 0.159 358.3);
Tailwind
colors: {
  custom: {
    50: '#e18ba9',
    500: '#cf5786',
    950: '#000000',
  },
}
SCSS
$custom: #cf5786;
$custom-light: #e18ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5786",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 336.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62258,
    "c": 0.1587,
    "h": 358.3
  },
  "luminance": 0.21803
}

Semantic roles & 50–950 ramp

primary
#CF5786
secondary
#A9D9C6
accent
#DFA449
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5786

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

Preview Lab → · Contrast checker → · Palette generator →

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