#CF4FA5#CF4FA5

#CF4FA5 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.4% C 0.187 H 342.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CF4FA5
RGBrgb(207, 79, 165)
HSLhsl(320, 57%, 56%)
HSVhsv(320, 62%, 81%)
CMYKcmyk(0%, 61.8%, 20.3%, 18.8%)
CIE-LABlab(53.58, 59.58, -20.72)
CIE-LCHlch(53.58, 63.08, 340.82°)
OKLaboklab(62.43% 0.1782 -0.0553)
OKLCHoklch(62.43% 0.187 342.7)
XYZxyz(35.3206, 21.5772, 37.8946)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4FA5 #4FCF79
analogous
#B94FCF #CF4FA5 #CF4F65
triadic
#CF4FA5 #A5CF4F #4FA5CF
tetradic
#CF4FA5 #CFB94F #4FCF79 #4F65CF
square
#CF4FA5 #CFB94F #4FCF79 #4F65CF
split-complementary
#CF4FA5 #65CF4F #4FCFB9
monochromatic
#812362 #B13086 #CF4FA5 #DC7FBE #E9AFD6

Accessibility & contrast

On white

3.95
#CF4FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CF4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4FA5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4FA5#FFFFFF#000000##000000
##CF4FA51.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#DB5073
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf4fa5;
/* rgb */ color: rgb(207, 79, 165);
/* oklch */ color: oklch(62.4% 0.187 342.7);
Tailwind
colors: {
  custom: {
    50: '#e188bf',
    500: '#cf4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cf4fa5;
$custom-light: #e188bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4fa5",
  "rgb": {
    "r": 207,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 319.688,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62426,
    "c": 0.18655,
    "h": 342.7
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#CF4FA5
secondary
#A2D7B4
accent
#E07A47
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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