#CF5BB2#CF5BB2

#CF5BB2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.4% C 0.178 H 338.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CF5BB2
RGBrgb(207, 91, 178)
HSLhsl(315, 55%, 58%)
HSVhsv(315, 56%, 81%)
CMYKcmyk(0%, 56%, 14%, 18.8%)
CIE-LABlab(56.05, 56.18, -24.48)
CIE-LCHlch(56.05, 61.28, 336.45°)
OKLaboklab(64.42% 0.165 -0.066)
OKLCHoklch(64.42% 0.178 338.2)
XYZxyz(37.5096, 23.9649, 44.7610)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BB2 #5BCF78
analogous
#B25BCF #CF5BB2 #CF5B78
triadic
#CF5BB2 #B2CF5B #5BB2CF
tetradic
#CF5BB2 #CFB25B #5BCF78 #5B78CF
square
#CF5BB2 #CFB25B #5BCF78 #5B78CF
split-complementary
#CF5BB2 #78CF5B #5BCFB2
monochromatic
#882870 #B73697 #CF5BB2 #DD8AC8 #EBBADE

Accessibility & contrast

On white

3.63
#CF5BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CF5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BB2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BB2#FFFFFF#000000##000000
##CF5BB21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#818DAF
Tritanopia (blue-blind)
#D95F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5bb2;
/* rgb */ color: rgb(207, 91, 178);
/* oklch */ color: oklch(64.4% 0.178 338.2);
Tailwind
colors: {
  custom: {
    50: '#e08fc9',
    500: '#cf5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bb2;
$custom-light: #e08fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bb2",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 315,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.17771,
    "h": 338.2
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#CF5BB2
secondary
#ACDAB7
accent
#DE6F4A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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