#CF5EA7#CF5EA7

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

Color values

HEX#CF5EA7
RGBrgb(207, 94, 167)
HSLhsl(321, 54%, 59%)
HSVhsv(321, 55%, 81%)
CMYKcmyk(0%, 54.6%, 19.3%, 18.8%)
CIE-LABlab(56.15, 53.13, -17.96)
CIE-LCHlch(56.15, 56.08, 341.33°)
OKLaboklab(64.35% 0.1583 -0.0478)
OKLCHoklch(64.35% 0.165 343.2)
XYZxyz(36.7107, 24.0639, 39.2631)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EA7 #5ECF86
analogous
#BF5ECF #CF5EA7 #CF5E6F
triadic
#CF5EA7 #A7CF5E #5EA7CF
tetradic
#CF5EA7 #CFBF5E #5ECF86 #5E6FCF
square
#CF5EA7 #CFBF5E #5ECF86 #5E6FCF
split-complementary
#CF5EA7 #6FCF5E #5ECFBF
monochromatic
#8A2967 #B9378B #CF5EA7 #DD8DC1 #EBBCDB

Accessibility & contrast

On white

3.61
#CF5EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CF5EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EA7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EA7#FFFFFF#000000##000000
##CF5EA71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BA9
Deuteranopia (green-blind)
#868DA4
Tritanopia (blue-blind)
#DB5E7B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5ea7;
/* rgb */ color: rgb(207, 94, 167);
/* oklch */ color: oklch(64.4% 0.165 343.2);
Tailwind
colors: {
  custom: {
    50: '#e090c1',
    500: '#cf5ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ea7;
$custom-light: #e090c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ea7",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 321.239,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.16536,
    "h": 343.2
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#CF5EA7
secondary
#AEDBBE
accent
#DD7E4A
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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