#CF4DAB#CF4DAB

#CF4DAB is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.5% C 0.193 H 340.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CF4DAB
RGBrgb(207, 77, 171)
HSLhsl(317, 58%, 56%)
HSVhsv(317, 63%, 81%)
CMYKcmyk(0%, 62.8%, 17.4%, 18.8%)
CIE-LABlab(53.51, 61.27, -24.33)
CIE-LCHlch(53.51, 65.92, 338.34°)
OKLaboklab(62.46% 0.1819 -0.0654)
OKLCHoklch(62.46% 0.193 340.2)
XYZxyz(35.7375, 21.5166, 40.7911)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4DAB #4DCF71
analogous
#B24DCF #CF4DAB #CF4D6A
triadic
#CF4DAB #ABCF4D #4DABCF
tetradic
#CF4DAB #CFB24D #4DCF71 #4D6ACF
square
#CF4DAB #CFB24D #4DCF71 #4D6ACF
split-complementary
#CF4DAB #6ACF4D #4DCFB2
monochromatic
#7F2266 #AF2F8C #CF4DAB #DC7DC2 #E9ADD8

Accessibility & contrast

On white

3.96
#CF4DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CF4DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4DAB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4DAB#FFFFFF#000000##000000
##CF4DAB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5473AE
Deuteranopia (green-blind)
#7C87A8
Tritanopia (blue-blind)
#DB5075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4dab;
/* rgb */ color: rgb(207, 77, 171);
/* oklch */ color: oklch(62.5% 0.193 340.2);
Tailwind
colors: {
  custom: {
    50: '#e187c4',
    500: '#cf4dab',
    950: '#000000',
  },
}
SCSS
$custom: #cf4dab;
$custom-light: #e187c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4dab",
  "rgb": {
    "r": 207,
    "g": 77,
    "b": 171
  },
  "hsl": {
    "h": 316.615,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.19332,
    "h": 340.2
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#CF4DAB
secondary
#A1D7B0
accent
#E17247
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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