#CF5287#CF5287

#CF5287 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.166 H 356.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CF5287
RGBrgb(207, 82, 135)
HSLhsl(335, 57%, 57%)
HSVhsv(335, 60%, 81%)
CMYKcmyk(0%, 60.4%, 34.8%, 18.8%)
CIE-LABlab(53.01, 54.42, -3.87)
CIE-LCHlch(53.01, 54.56, 355.93°)
OKLaboklab(61.66% 0.166 -0.0095)
OKLCHoklch(61.66% 0.166 356.7)
XYZxyz(33.1244, 21.0528, 25.2361)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5287 #52CF9A
analogous
#CF52C6 #CF5287 #CF5C52
triadic
#CF5287 #87CF52 #5287CF
tetradic
#CF5287 #C6CF52 #52CF9A #5C52CF
square
#CF5287 #C6CF52 #52CF9A #5C52CF
split-complementary
#CF5287 #52CF5C #52C6CF
monochromatic
#82244C #B23168 #CF5287 #DC82A8 #EAB2C9

Accessibility & contrast

On white

4.03
#CF5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CF5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5287
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5287#FFFFFF#000000##000000
##CF52871.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667089
Deuteranopia (green-blind)
#888784
Tritanopia (blue-blind)
#DE4867
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5287;
/* rgb */ color: rgb(207, 82, 135);
/* oklch */ color: oklch(61.7% 0.166 356.7);
Tailwind
colors: {
  custom: {
    50: '#e289a9',
    500: '#cf5287',
    950: '#000000',
  },
}
SCSS
$custom: #cf5287;
$custom-light: #e289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5287",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 334.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.16627,
    "h": 356.7
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5287

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

Preview Lab → · Contrast checker → · Palette generator →

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