#CF5FB7#CF5FB7

#CF5FB7 is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.1% C 0.175 H 336.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CF5FB7
RGBrgb(207, 95, 183)
HSLhsl(313, 54%, 59%)
HSVhsv(313, 54%, 81%)
CMYKcmyk(0%, 54.1%, 11.6%, 18.8%)
CIE-LABlab(56.95, 55.10, -25.98)
CIE-LCHlch(56.95, 60.92, 334.75°)
OKLaboklab(65.15% 0.1605 -0.0703)
OKLCHoklch(65.15% 0.175 336.4)
XYZxyz(38.3719, 24.8715, 47.5702)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB7 #5FCF77
analogous
#AF5FCF #CF5FB7 #CF5F7F
triadic
#CF5FB7 #B7CF5F #5FB7CF
tetradic
#CF5FB7 #CFAF5F #5FCF77 #5F7FCF
square
#CF5FB7 #CFAF5F #5FCF77 #5F7FCF
split-complementary
#CF5FB7 #7FCF5F #5FCFAF
monochromatic
#8A2975 #B9389D #CF5FB7 #DD8ECC #EBBDE1

Accessibility & contrast

On white

3.52
#CF5FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CF5FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB7#FFFFFF#000000##000000
##CF5FB71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#818FB4
Tritanopia (blue-blind)
#D86483
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5fb7;
/* rgb */ color: rgb(207, 95, 183);
/* oklch */ color: oklch(65.1% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#e091cc',
    500: '#cf5fb7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb7;
$custom-light: #e091cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb7",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 312.857,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.17524,
    "h": 336.4
  },
  "luminance": 0.24869
}

Semantic roles & 50–950 ramp

primary
#CF5FB7
secondary
#AFDBB8
accent
#DD6A4B
background
#FEF9FC
surface
#FCF1F9
border
#D5CBD2
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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