#CF5DA7#CF5DA7

#CF5DA7 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.2% C 0.167 H 343.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF5DA7
RGBrgb(207, 93, 167)
HSLhsl(321, 54%, 59%)
HSVhsv(321, 55%, 81%)
CMYKcmyk(0%, 55.1%, 19.3%, 18.8%)
CIE-LABlab(55.97, 53.60, -18.22)
CIE-LCHlch(55.97, 56.61, 341.22°)
OKLaboklab(64.22% 0.1597 -0.0485)
OKLCHoklch(64.22% 0.167 343.1)
XYZxyz(36.6224, 23.8872, 39.2336)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5DA7 #5DCF85
analogous
#BE5DCF #CF5DA7 #CF5D6E
triadic
#CF5DA7 #A7CF5D #5DA7CF
tetradic
#CF5DA7 #CFBE5D #5DCF85 #5D6ECF
square
#CF5DA7 #CFBE5D #5DCF85 #5D6ECF
split-complementary
#CF5DA7 #6ECF5D #5DCFBE
monochromatic
#892967 #B8378B #CF5DA7 #DD8CC1 #EBBBDA

Accessibility & contrast

On white

3.64
#CF5DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF5DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5DA7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5DA7#FFFFFF#000000##000000
##CF5DA71.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#858DA4
Tritanopia (blue-blind)
#DB5D7A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5da7;
/* rgb */ color: rgb(207, 93, 167);
/* oklch */ color: oklch(64.2% 0.167 343.1);
Tailwind
colors: {
  custom: {
    50: '#e090c1',
    500: '#cf5da7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5da7;
$custom-light: #e090c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5da7",
  "rgb": {
    "r": 207,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 321.053,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.16693,
    "h": 343.1
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#CF5DA7
secondary
#ADDABD
accent
#DE7E4A
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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