#CF5FA1#CF5FA1

#CF5FA1 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.3% C 0.160 H 346.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CF5FA1
RGBrgb(207, 95, 161)
HSLhsl(325, 54%, 59%)
HSVhsv(325, 54%, 81%)
CMYKcmyk(0%, 54.1%, 22.2%, 18.8%)
CIE-LABlab(56.11, 51.79, -14.52)
CIE-LCHlch(56.11, 53.79, 344.34°)
OKLaboklab(64.26% 0.1553 -0.0383)
OKLCHoklch(64.26% 0.16 346.1)
XYZxyz(36.2584, 24.0261, 36.4392)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA1 #5FCF8D
analogous
#C55FCF #CF5FA1 #CF5F69
triadic
#CF5FA1 #A1CF5F #5FA1CF
tetradic
#CF5FA1 #CFC55F #5FCF8D #5F69CF
square
#CF5FA1 #CFC55F #5FCF8D #5F69CF
split-complementary
#CF5FA1 #69CF5F #5FCFC5
monochromatic
#8A2962 #B93884 #CF5FA1 #DD8EBD #EBBDD8

Accessibility & contrast

On white

3.62
#CF5FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CF5FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA1#FFFFFF#000000##000000
##CF5FA11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA3
Deuteranopia (green-blind)
#888E9E
Tritanopia (blue-blind)
#DB5D79
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5fa1;
/* rgb */ color: rgb(207, 95, 161);
/* oklch */ color: oklch(64.3% 0.160 346.1);
Tailwind
colors: {
  custom: {
    50: '#e091bc',
    500: '#cf5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa1;
$custom-light: #e091bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa1",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 324.643,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64255,
    "c": 0.15997,
    "h": 346.1
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#CF5FA1
secondary
#AFDBC1
accent
#DD874B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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