#CF4BA7#CF4BA7

#CF4BA7 is a light, vivid pink. Relative luminance 0.211; OKLCH L 62.1% C 0.193 H 341.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF4BA7
RGBrgb(207, 75, 167)
HSLhsl(318, 58%, 55%)
HSVhsv(318, 64%, 81%)
CMYKcmyk(0%, 63.8%, 19.3%, 18.8%)
CIE-LABlab(53.05, 61.52, -22.70)
CIE-LCHlch(53.05, 65.58, 339.74°)
OKLaboklab(62.07% 0.1836 -0.0609)
OKLCHoklch(62.07% 0.193 341.7)
XYZxyz(35.2242, 21.0908, 38.7675)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4BA7 #4BCF73
analogous
#B54BCF #CF4BA7 #CF4B65
triadic
#CF4BA7 #A7CF4B #4BA7CF
tetradic
#CF4BA7 #CFB54B #4BCF73 #4B65CF
square
#CF4BA7 #CFB54B #4BCF73 #4B65CF
split-complementary
#CF4BA7 #65CF4B #4BCFB5
monochromatic
#7E2262 #AE2E88 #CF4BA7 #DC7BBF #E9ACD6

Accessibility & contrast

On white

4.02
#CF4BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CF4BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4BA7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4BA7#FFFFFF#000000##000000
##CF4BA71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5571AA
Deuteranopia (green-blind)
#7C87A4
Tritanopia (blue-blind)
#DB4D72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf4ba7;
/* rgb */ color: rgb(207, 75, 167);
/* oklch */ color: oklch(62.1% 0.193 341.7);
Tailwind
colors: {
  custom: {
    50: '#e186c1',
    500: '#cf4ba7',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ba7;
$custom-light: #e186c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ba7",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 167
  },
  "hsl": {
    "h": 318.182,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.19342,
    "h": 341.7
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#CF4BA7
secondary
#9FD6B0
accent
#E17547
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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