#CF5FA4#CF5FA4

#CF5FA4 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.162 H 344.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CF5FA4
RGBrgb(207, 95, 164)
HSLhsl(323, 54%, 59%)
HSVhsv(323, 54%, 81%)
CMYKcmyk(0%, 54.1%, 20.8%, 18.8%)
CIE-LABlab(56.22, 52.22, -16.11)
CIE-LCHlch(56.22, 54.65, 342.86°)
OKLaboklab(64.37% 0.1561 -0.0427)
OKLCHoklch(64.37% 0.162 344.7)
XYZxyz(36.5261, 24.1332, 37.8492)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA4 #5FCF8A
analogous
#C25FCF #CF5FA4 #CF5F6C
triadic
#CF5FA4 #A4CF5F #5FA4CF
tetradic
#CF5FA4 #CFC25F #5FCF8A #5F6CCF
square
#CF5FA4 #CFC25F #5FCF8A #5F6CCF
split-complementary
#CF5FA4 #6CCF5F #5FCFC2
monochromatic
#8A2965 #B93887 #CF5FA4 #DD8EBF #EBBDDA

Accessibility & contrast

On white

3.60
#CF5FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CF5FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA4#FFFFFF#000000##000000
##CF5FA41.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA6
Deuteranopia (green-blind)
#878EA1
Tritanopia (blue-blind)
#DB5E7A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5fa4;
/* rgb */ color: rgb(207, 95, 164);
/* oklch */ color: oklch(64.4% 0.162 344.7);
Tailwind
colors: {
  custom: {
    50: '#e091bf',
    500: '#cf5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa4;
$custom-light: #e091bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa4",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 323.036,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.16184,
    "h": 344.7
  },
  "luminance": 0.2413
}

Semantic roles & 50–950 ramp

primary
#CF5FA4
secondary
#AFDBC0
accent
#DD834B
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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