#CF4FA8#CF4FA8

#CF4FA8 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.6% C 0.189 H 341.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CF4FA8
RGBrgb(207, 79, 168)
HSLhsl(318, 57%, 56%)
HSVhsv(318, 62%, 81%)
CMYKcmyk(0%, 61.8%, 18.8%, 18.8%)
CIE-LABlab(53.69, 60.00, -22.30)
CIE-LCHlch(53.69, 64.01, 339.62°)
OKLaboklab(62.55% 0.1788 -0.0597)
OKLCHoklch(62.55% 0.189 341.5)
XYZxyz(35.5969, 21.6877, 39.3496)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FA8 #4FCF76
analogous
#B64FCF #CF4FA8 #CF4F68
triadic
#CF4FA8 #A8CF4F #4FA8CF
tetradic
#CF4FA8 #CFB64F #4FCF76 #4F68CF
square
#CF4FA8 #CFB64F #4FCF76 #4F68CF
split-complementary
#CF4FA8 #68CF4F #4FCFB6
monochromatic
#812364 #B13089 #CF4FA8 #DC7FC0 #E9AFD8

Accessibility & contrast

On white

3.93
#CF4FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CF4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FA8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FA8#FFFFFF#000000##000000
##CF4FA81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5873AB
Deuteranopia (green-blind)
#7E88A5
Tritanopia (blue-blind)
#DB5174
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4fa8;
/* rgb */ color: rgb(207, 79, 168);
/* oklch */ color: oklch(62.6% 0.189 341.5);
Tailwind
colors: {
  custom: {
    50: '#e188c2',
    500: '#cf4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fa8;
$custom-light: #e188c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fa8",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 318.281,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62552,
    "c": 0.18851,
    "h": 341.5
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#CF4FA8
secondary
#A2D7B3
accent
#E07647
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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