#CF5BAB#CF5BAB

#CF5BAB is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.1% C 0.173 H 341.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CF5BAB
RGBrgb(207, 91, 171)
HSLhsl(319, 55%, 58%)
HSVhsv(319, 56%, 81%)
CMYKcmyk(0%, 56%, 17.4%, 18.8%)
CIE-LABlab(55.78, 55.12, -20.85)
CIE-LCHlch(55.78, 58.93, 339.28°)
OKLaboklab(64.13% 0.1635 -0.0558)
OKLCHoklch(64.13% 0.173 341.1)
XYZxyz(36.8246, 23.6909, 41.1535)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BAB #5BCF7F
analogous
#B95BCF #CF5BAB #CF5B71
triadic
#CF5BAB #ABCF5B #5BABCF
tetradic
#CF5BAB #CFB95B #5BCF7F #5B71CF
square
#CF5BAB #CFB95B #5BCF7F #5B71CF
split-complementary
#CF5BAB #71CF5B #5BCFB9
monochromatic
#88286A #B7368F #CF5BAB #DD8AC3 #EBBADB

Accessibility & contrast

On white

3.66
#CF5BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CF5BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BAB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BAB#FFFFFF#000000##000000
##CF5BAB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627AAE
Deuteranopia (green-blind)
#838DA8
Tritanopia (blue-blind)
#DA5D7B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5bab;
/* rgb */ color: rgb(207, 91, 171);
/* oklch */ color: oklch(64.1% 0.173 341.1);
Tailwind
colors: {
  custom: {
    50: '#e08fc4',
    500: '#cf5bab',
    950: '#000000',
  },
}
SCSS
$custom: #cf5bab;
$custom-light: #e08fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5bab",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 318.621,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64127,
    "c": 0.17273,
    "h": 341.1
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#CF5BAB
secondary
#ACDABA
accent
#DE784A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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