#CF5BA1#CF5BA1

#CF5BA1 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.7% C 0.166 H 345.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CF5BA1
RGBrgb(207, 91, 161)
HSLhsl(324, 55%, 58%)
HSVhsv(324, 56%, 81%)
CMYKcmyk(0%, 56%, 22.2%, 18.8%)
CIE-LABlab(55.40, 53.67, -15.60)
CIE-LCHlch(55.40, 55.90, 343.80°)
OKLaboklab(63.73% 0.161 -0.0412)
OKLCHoklch(63.73% 0.166 345.6)
XYZxyz(35.9073, 23.3239, 36.3222)
Luminance0.2332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BA1 #5BCF89
analogous
#C35BCF #CF5BA1 #CF5B67
triadic
#CF5BA1 #A1CF5B #5BA1CF
tetradic
#CF5BA1 #CFC35B #5BCF89 #5B67CF
square
#CF5BA1 #CFC35B #5BCF89 #5B67CF
split-complementary
#CF5BA1 #67CF5B #5BCFC3
monochromatic
#882862 #B73684 #CF5BA1 #DD8ABC #EBBAD7

Accessibility & contrast

On white

3.71
#CF5BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CF5BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BA1
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BA1#FFFFFF#000000##000000
##CF5BA11.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6678A3
Deuteranopia (green-blind)
#868C9E
Tritanopia (blue-blind)
#DB5977
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5ba1;
/* rgb */ color: rgb(207, 91, 161);
/* oklch */ color: oklch(63.7% 0.166 345.6);
Tailwind
colors: {
  custom: {
    50: '#e18ebd',
    500: '#cf5ba1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ba1;
$custom-light: #e18ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ba1",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 161
  },
  "hsl": {
    "h": 323.793,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63728,
    "c": 0.16621,
    "h": 345.6
  },
  "luminance": 0.23321
}

Semantic roles & 50–950 ramp

primary
#CF5BA1
secondary
#ACDABE
accent
#DE854A
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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