#CF5188#CF5188

#CF5188 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.168 H 356.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CF5188
RGBrgb(207, 81, 136)
HSLhsl(334, 57%, 56%)
HSVhsv(334, 61%, 81%)
CMYKcmyk(0%, 60.9%, 34.3%, 18.8%)
CIE-LABlab(52.87, 54.98, -4.67)
CIE-LCHlch(52.87, 55.17, 355.15°)
OKLaboklab(61.57% 0.1677 -0.0116)
OKLCHoklch(61.57% 0.168 356)
XYZxyz(33.1203, 20.9314, 25.5837)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5188 #51CF98
analogous
#CF51C7 #CF5188 #CF5951
triadic
#CF5188 #88CF51 #5188CF
tetradic
#CF5188 #C7CF51 #51CF98 #5951CF
square
#CF5188 #C7CF51 #51CF98 #5951CF
split-complementary
#CF5188 #51CF59 #51C7CF
monochromatic
#82244D #B23169 #CF5188 #DC81A9 #E9B1CA

Accessibility & contrast

On white

4.05
#CF5188 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CF5188 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5188
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5188#FFFFFF#000000##000000
##CF51881.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708A
Deuteranopia (green-blind)
#878785
Tritanopia (blue-blind)
#DE4867
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5188;
/* rgb */ color: rgb(207, 81, 136);
/* oklch */ color: oklch(61.6% 0.168 356.0);
Tailwind
colors: {
  custom: {
    50: '#e288aa',
    500: '#cf5188',
    950: '#000000',
  },
}
SCSS
$custom: #cf5188;
$custom-light: #e288aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5188",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 333.81,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.16809,
    "h": 356
  },
  "luminance": 0.20928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5188

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

Preview Lab → · Contrast checker → · Palette generator →

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