#CF5FB4#CF5FB4

#CF5FB4 is a light, vivid pink. Relative luminance 0.247; OKLCH L 65.0% C 0.173 H 337.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CF5FB4
RGBrgb(207, 95, 180)
HSLhsl(314, 54%, 59%)
HSVhsv(314, 54%, 81%)
CMYKcmyk(0%, 54.1%, 13%, 18.8%)
CIE-LABlab(56.83, 54.63, -24.44)
CIE-LCHlch(56.83, 59.85, 335.89°)
OKLaboklab(65.02% 0.1599 -0.0659)
OKLCHoklch(65.02% 0.173 337.6)
XYZxyz(38.0629, 24.7480, 45.9433)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB4 #5FCF7A
analogous
#B25FCF #CF5FB4 #CF5F7C
triadic
#CF5FB4 #B4CF5F #5FB4CF
tetradic
#CF5FB4 #CFB25F #5FCF7A #5F7CCF
square
#CF5FB4 #CFB25F #5FCF7A #5F7CCF
split-complementary
#CF5FB4 #7CCF5F #5FCFB2
monochromatic
#8A2973 #B9389A #CF5FB4 #DD8ECA #EBBDE0

Accessibility & contrast

On white

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

On black

5.95
#CF5FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB4#FFFFFF#000000##000000
##CF5FB41.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB7
Deuteranopia (green-blind)
#828FB1
Tritanopia (blue-blind)
#D96381
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5fb4;
/* rgb */ color: rgb(207, 95, 180);
/* oklch */ color: oklch(65.0% 0.173 337.6);
Tailwind
colors: {
  custom: {
    50: '#e091ca',
    500: '#cf5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb4;
$custom-light: #e091ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb4",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 314.464,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.17296,
    "h": 337.6
  },
  "luminance": 0.24745
}

Semantic roles & 50–950 ramp

primary
#CF5FB4
secondary
#AFDBBA
accent
#DD6E4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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