#CF5288#CF5288

#CF5288 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.167 H 356.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF5288
RGBrgb(207, 82, 136)
HSLhsl(334, 57%, 57%)
HSVhsv(334, 60%, 81%)
CMYKcmyk(0%, 60.4%, 34.3%, 18.8%)
CIE-LABlab(53.04, 54.53, -4.42)
CIE-LCHlch(53.04, 54.71, 355.36°)
OKLaboklab(61.7% 0.1663 -0.0109)
OKLCHoklch(61.7% 0.167 356.2)
XYZxyz(33.1951, 21.0811, 25.6087)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5288 #52CF99
analogous
#CF52C7 #CF5288 #CF5B52
triadic
#CF5288 #88CF52 #5288CF
tetradic
#CF5288 #C7CF52 #52CF99 #5B52CF
square
#CF5288 #C7CF52 #52CF99 #5B52CF
split-complementary
#CF5288 #52CF5B #52C7CF
monochromatic
#82244D #B23169 #CF5288 #DC82A9 #EAB2CA

Accessibility & contrast

On white

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

On black

5.22
#CF5288 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5288
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5288#FFFFFF#000000##000000
##CF52881.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#66708A
Deuteranopia (green-blind)
#888785
Tritanopia (blue-blind)
#DE4967
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5288;
/* rgb */ color: rgb(207, 82, 136);
/* oklch */ color: oklch(61.7% 0.167 356.2);
Tailwind
colors: {
  custom: {
    50: '#e289aa',
    500: '#cf5288',
    950: '#000000',
  },
}
SCSS
$custom: #cf5288;
$custom-light: #e289aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5288",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 334.08,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.16668,
    "h": 356.2
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5288

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

Preview Lab → · Contrast checker → · Palette generator →

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