#CF5286#CF5286

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

Color values

HEX#CF5286
RGBrgb(207, 82, 134)
HSLhsl(335, 57%, 57%)
HSVhsv(335, 60%, 81%)
CMYKcmyk(0%, 60.4%, 35.3%, 18.8%)
CIE-LABlab(52.98, 54.30, -3.33)
CIE-LCHlch(52.98, 54.40, 356.50°)
OKLaboklab(61.63% 0.1657 -0.008)
OKLCHoklch(61.63% 0.166 357.2)
XYZxyz(33.0543, 21.0248, 24.8671)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5286 #52CF9B
analogous
#CF52C5 #CF5286 #CF5D52
triadic
#CF5286 #86CF52 #5286CF
tetradic
#CF5286 #C5CF52 #52CF9B #5D52CF
square
#CF5286 #C5CF52 #52CF9B #5D52CF
split-complementary
#CF5286 #52CF5D #52C5CF
monochromatic
#82244B #B23167 #CF5286 #DC82A8 #EAB2C9

Accessibility & contrast

On white

4.04
#CF5286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF5286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5286
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5286#FFFFFF#000000##000000
##CF52861.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677088
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#DF4866
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5286;
/* rgb */ color: rgb(207, 82, 134);
/* oklch */ color: oklch(61.6% 0.166 357.2);
Tailwind
colors: {
  custom: {
    50: '#e289a9',
    500: '#cf5286',
    950: '#000000',
  },
}
SCSS
$custom: #cf5286;
$custom-light: #e289a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5286",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 335.04,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61629,
    "c": 0.16586,
    "h": 357.2
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#CF5286
secondary
#A5D8C3
accent
#E0A148
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5286

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

Preview Lab → · Contrast checker → · Palette generator →

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