#CF5FB6#CF5FB6

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

Color values

HEX#CF5FB6
RGBrgb(207, 95, 182)
HSLhsl(313, 54%, 59%)
HSVhsv(313, 54%, 81%)
CMYKcmyk(0%, 54.1%, 12.1%, 18.8%)
CIE-LABlab(56.91, 54.94, -25.47)
CIE-LCHlch(56.91, 60.56, 335.13°)
OKLaboklab(65.11% 0.1603 -0.0688)
OKLCHoklch(65.11% 0.174 336.8)
XYZxyz(38.2682, 24.8300, 47.0240)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB6 #5FCF78
analogous
#B05FCF #CF5FB6 #CF5F7E
triadic
#CF5FB6 #B6CF5F #5FB6CF
tetradic
#CF5FB6 #CFB05F #5FCF78 #5F7ECF
square
#CF5FB6 #CFB05F #5FCF78 #5F7ECF
split-complementary
#CF5FB6 #7ECF5F #5FCFB0
monochromatic
#8A2975 #B9389C #CF5FB6 #DD8ECB #EBBDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5FB6#FFFFFF#000000##000000
##CF5FB61.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)
#617EB9
Deuteranopia (green-blind)
#818FB3
Tritanopia (blue-blind)
#D96482
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cf5fb6;
/* rgb */ color: rgb(207, 95, 182);
/* oklch */ color: oklch(65.1% 0.174 336.8);
Tailwind
colors: {
  custom: {
    50: '#e091cc',
    500: '#cf5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb6;
$custom-light: #e091cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb6",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 313.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65107,
    "c": 0.17448,
    "h": 336.8
  },
  "luminance": 0.24827
}

Semantic roles & 50–950 ramp

primary
#CF5FB6
secondary
#AFDBB9
accent
#DD6B4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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