#CF5BA8#CF5BA8

#CF5BA8 is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.171 H 342.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#CF5BA8
RGBrgb(207, 91, 168)
HSLhsl(320, 55%, 58%)
HSVhsv(320, 56%, 81%)
CMYKcmyk(0%, 56%, 18.8%, 18.8%)
CIE-LABlab(55.66, 54.68, -19.28)
CIE-LCHlch(55.66, 57.98, 340.58°)
OKLaboklab(64% 0.1628 -0.0514)
OKLCHoklch(64% 0.171 342.5)
XYZxyz(36.5419, 23.5778, 39.6646)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BA8 #5BCF82
analogous
#BC5BCF #CF5BA8 #CF5B6E
triadic
#CF5BA8 #A8CF5B #5BA8CF
tetradic
#CF5BA8 #CFBC5B #5BCF82 #5B6ECF
square
#CF5BA8 #CFBC5B #5BCF82 #5B6ECF
split-complementary
#CF5BA8 #6ECF5B #5BCFBC
monochromatic
#882868 #B7368C #CF5BA8 #DD8AC1 #EBBADA

Accessibility & contrast

On white

3.67
#CF5BA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#CF5BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BA8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BA8#FFFFFF#000000##000000
##CF5BA81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#848CA5
Tritanopia (blue-blind)
#DB5C7A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5ba8;
/* rgb */ color: rgb(207, 91, 168);
/* oklch */ color: oklch(64.0% 0.171 342.5);
Tailwind
colors: {
  custom: {
    50: '#e08ec2',
    500: '#cf5ba8',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ba8;
$custom-light: #e08ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ba8",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 168
  },
  "hsl": {
    "h": 320.172,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64004,
    "c": 0.1707,
    "h": 342.5
  },
  "luminance": 0.23575
}

Semantic roles & 50–950 ramp

primary
#CF5BA8
secondary
#ACDABB
accent
#DE7C4A
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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