#CF5FB1#CF5FB1

#CF5FB1 is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.9% C 0.171 H 338.9°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CF5FB1
RGBrgb(207, 95, 177)
HSLhsl(316, 54%, 59%)
HSVhsv(316, 54%, 81%)
CMYKcmyk(0%, 54.1%, 14.5%, 18.8%)
CIE-LABlab(56.71, 54.16, -22.89)
CIE-LCHlch(56.71, 58.80, 337.09°)
OKLaboklab(64.89% 0.1593 -0.0616)
OKLCHoklch(64.89% 0.171 338.9)
XYZxyz(37.7606, 24.6270, 44.3511)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB1 #5FCF7D
analogous
#B55FCF #CF5FB1 #CF5F79
triadic
#CF5FB1 #B1CF5F #5FB1CF
tetradic
#CF5FB1 #CFB55F #5FCF7D #5F79CF
square
#CF5FB1 #CFB55F #5FCF7D #5F79CF
split-complementary
#CF5FB1 #79CF5F #5FCFB5
monochromatic
#8A2970 #B93897 #CF5FB1 #DD8EC8 #EBBDDF

Accessibility & contrast

On white

3.54
#CF5FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CF5FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB1#FFFFFF#000000##000000
##CF5FB11.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#838EAE
Tritanopia (blue-blind)
#D96280
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5fb1;
/* rgb */ color: rgb(207, 95, 177);
/* oklch */ color: oklch(64.9% 0.171 338.9);
Tailwind
colors: {
  custom: {
    50: '#e091c8',
    500: '#cf5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb1;
$custom-light: #e091c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb1",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 316.071,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.17075,
    "h": 338.9
  },
  "luminance": 0.24624
}

Semantic roles & 50–950 ramp

primary
#CF5FB1
secondary
#AFDBBB
accent
#DD724B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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