#CF5189#CF5189

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

Color values

HEX#CF5189
RGBrgb(207, 81, 137)
HSLhsl(333, 57%, 56%)
HSVhsv(333, 61%, 81%)
CMYKcmyk(0%, 60.9%, 33.8%, 18.8%)
CIE-LABlab(52.91, 55.09, -5.21)
CIE-LCHlch(52.91, 55.34, 354.59°)
OKLaboklab(61.61% 0.168 -0.013)
OKLCHoklch(61.61% 0.169 355.6)
XYZxyz(33.1917, 20.9599, 25.9597)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5189 #51CF97
analogous
#CF51C8 #CF5189 #CF5851
triadic
#CF5189 #89CF51 #5189CF
tetradic
#CF5189 #C8CF51 #51CF97 #5851CF
square
#CF5189 #C8CF51 #51CF97 #5851CF
split-complementary
#CF5189 #51CF58 #51C8CF
monochromatic
#82244E #B2316A #CF5189 #DC81AA #E9B1CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5189#FFFFFF#000000##000000
##CF51891.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)
#65708B
Deuteranopia (green-blind)
#878786
Tritanopia (blue-blind)
#DE4867
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5189;
/* rgb */ color: rgb(207, 81, 137);
/* oklch */ color: oklch(61.6% 0.169 355.6);
Tailwind
colors: {
  custom: {
    50: '#e288ab',
    500: '#cf5189',
    950: '#000000',
  },
}
SCSS
$custom: #cf5189;
$custom-light: #e288ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5189",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 333.333,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.16851,
    "h": 355.6
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5189

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

Preview Lab → · Contrast checker → · Palette generator →

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