#CF5BAF#CF5BAF

#CF5BAF is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.3% C 0.176 H 339.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CF5BAF
RGBrgb(207, 91, 175)
HSLhsl(317, 55%, 58%)
HSVhsv(317, 56%, 81%)
CMYKcmyk(0%, 56%, 15.5%, 18.8%)
CIE-LABlab(55.93, 55.72, -22.93)
CIE-LCHlch(55.93, 60.26, 337.63°)
OKLaboklab(64.29% 0.1644 -0.0616)
OKLCHoklch(64.29% 0.176 339.4)
XYZxyz(37.2117, 23.8457, 43.1919)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5BAF #5BCF7B
analogous
#B55BCF #CF5BAF #CF5B75
triadic
#CF5BAF #AFCF5B #5BAFCF
tetradic
#CF5BAF #CFB55B #5BCF7B #5B75CF
square
#CF5BAF #CFB55B #5BCF7B #5B75CF
split-complementary
#CF5BAF #75CF5B #5BCFB5
monochromatic
#88286D #B73693 #CF5BAF #DD8AC6 #EBBADD

Accessibility & contrast

On white

3.64
#CF5BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CF5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5BAF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5BAF#FFFFFF#000000##000000
##CF5BAF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607AB2
Deuteranopia (green-blind)
#828DAC
Tritanopia (blue-blind)
#DA5E7D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5baf;
/* rgb */ color: rgb(207, 91, 175);
/* oklch */ color: oklch(64.3% 0.176 339.4);
Tailwind
colors: {
  custom: {
    50: '#e08fc7',
    500: '#cf5baf',
    950: '#000000',
  },
}
SCSS
$custom: #cf5baf;
$custom-light: #e08fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5baf",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 316.552,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64293,
    "c": 0.17554,
    "h": 339.4
  },
  "luminance": 0.23843
}

Semantic roles & 50–950 ramp

primary
#CF5BAF
secondary
#ACDAB9
accent
#DE734A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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