#CF5FB5#CF5FB5

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

Color values

HEX#CF5FB5
RGBrgb(207, 95, 181)
HSLhsl(314, 54%, 59%)
HSVhsv(314, 54%, 81%)
CMYKcmyk(0%, 54.1%, 12.6%, 18.8%)
CIE-LABlab(56.87, 54.78, -24.96)
CIE-LCHlch(56.87, 60.20, 335.51°)
OKLaboklab(65.06% 0.1601 -0.0674)
OKLCHoklch(65.06% 0.174 337.2)
XYZxyz(38.1652, 24.7889, 46.4817)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB5 #5FCF79
analogous
#B15FCF #CF5FB5 #CF5F7D
triadic
#CF5FB5 #B5CF5F #5FB5CF
tetradic
#CF5FB5 #CFB15F #5FCF79 #5F7DCF
square
#CF5FB5 #CFB15F #5FCF79 #5F7DCF
split-complementary
#CF5FB5 #7DCF5F #5FCFB1
monochromatic
#8A2974 #B9389B #CF5FB5 #DD8ECB #EBBDE1

Accessibility & contrast

On white

3.53
#CF5FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CF5FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB5#FFFFFF#000000##000000
##CF5FB51.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EB8
Deuteranopia (green-blind)
#828FB2
Tritanopia (blue-blind)
#D96382
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5fb5;
/* rgb */ color: rgb(207, 95, 181);
/* oklch */ color: oklch(65.1% 0.174 337.2);
Tailwind
colors: {
  custom: {
    50: '#e091cb',
    500: '#cf5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb5;
$custom-light: #e091cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb5",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 313.929,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.17372,
    "h": 337.2
  },
  "luminance": 0.24786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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