#CF5DB2#CF5DB2

#CF5DB2 is a light, vivid pink. Relative luminance 0.243; OKLCH L 64.7% C 0.175 H 338.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CF5DB2
RGBrgb(207, 93, 178)
HSLhsl(315, 54%, 59%)
HSVhsv(315, 55%, 81%)
CMYKcmyk(0%, 55.1%, 14%, 18.8%)
CIE-LABlab(56.40, 55.25, -23.95)
CIE-LCHlch(56.40, 60.22, 336.56°)
OKLaboklab(64.68% 0.1623 -0.0645)
OKLCHoklch(64.68% 0.175 338.3)
XYZxyz(37.6828, 24.3114, 44.8187)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DB2 #5DCF7A
analogous
#B35DCF #CF5DB2 #CF5D79
triadic
#CF5DB2 #B2CF5D #5DB2CF
tetradic
#CF5DB2 #CFB35D #5DCF7A #5D79CF
square
#CF5DB2 #CFB35D #5DCF7A #5D79CF
split-complementary
#CF5DB2 #79CF5D #5DCFB3
monochromatic
#892970 #B83797 #CF5DB2 #DD8CC8 #EBBBDF

Accessibility & contrast

On white

3.58
#CF5DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CF5DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DB2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DB2#FFFFFF#000000##000000
##CF5DB21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#D9617F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5db2;
/* rgb */ color: rgb(207, 93, 178);
/* oklch */ color: oklch(64.7% 0.175 338.3);
Tailwind
colors: {
  custom: {
    50: '#e090c9',
    500: '#cf5db2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5db2;
$custom-light: #e090c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5db2",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 315.263,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64676,
    "c": 0.17462,
    "h": 338.3
  },
  "luminance": 0.24308
}

Semantic roles & 50–950 ramp

primary
#CF5DB2
secondary
#ADDAB9
accent
#DE704A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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