#CF4FAB#CF4FAB

#CF4FAB is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.191 H 340.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CF4FAB
RGBrgb(207, 79, 171)
HSLhsl(317, 57%, 56%)
HSVhsv(317, 62%, 81%)
CMYKcmyk(0%, 61.8%, 17.4%, 18.8%)
CIE-LABlab(53.81, 60.43, -23.86)
CIE-LCHlch(53.81, 64.97, 338.45°)
OKLaboklab(62.68% 0.1794 -0.0641)
OKLCHoklch(62.68% 0.191 340.3)
XYZxyz(35.8796, 21.8008, 40.8385)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FAB #4FCF73
analogous
#B34FCF #CF4FAB #CF4F6B
triadic
#CF4FAB #ABCF4F #4FABCF
tetradic
#CF4FAB #CFB34F #4FCF73 #4F6BCF
square
#CF4FAB #CFB34F #4FCF73 #4F6BCF
split-complementary
#CF4FAB #6BCF4F #4FCFB3
monochromatic
#812366 #B1308C #CF4FAB #DC7FC2 #E9AFD9

Accessibility & contrast

On white

3.92
#CF4FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CF4FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FAB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FAB#FFFFFF#000000##000000
##CF4FAB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AE
Deuteranopia (green-blind)
#7D88A8
Tritanopia (blue-blind)
#DA5276
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf4fab;
/* rgb */ color: rgb(207, 79, 171);
/* oklch */ color: oklch(62.7% 0.191 340.3);
Tailwind
colors: {
  custom: {
    50: '#e188c4',
    500: '#cf4fab',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fab;
$custom-light: #e188c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fab",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 316.875,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.19052,
    "h": 340.3
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#CF4FAB
secondary
#A2D7B1
accent
#E07247
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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