#CF45A6#CF45A6

#CF45A6 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.201 H 341.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF45A6
RGBrgb(207, 69, 166)
HSLhsl(318, 59%, 54%)
HSVhsv(318, 67%, 81%)
CMYKcmyk(0%, 66.7%, 19.8%, 18.8%)
CIE-LABlab(52.15, 63.76, -23.50)
CIE-LCHlch(52.15, 67.95, 339.77°)
OKLaboklab(61.39% 0.1906 -0.063)
OKLCHoklch(61.39% 0.201 341.7)
XYZxyz(34.7442, 20.2781, 38.1533)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A6 #45CF6E
analogous
#B345CF #CF45A6 #CF4561
triadic
#CF45A6 #A6CF45 #45A6CF
tetradic
#CF45A6 #CFB345 #45CF6E #4561CF
square
#CF45A6 #CFB345 #45CF6E #4561CF
split-complementary
#CF45A6 #61CF45 #45CFB3
monochromatic
#7A205F #AB2C85 #CF45A6 #DC76BD #E8A6D5

Accessibility & contrast

On white

4.15
#CF45A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CF45A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A6
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A6#FFFFFF#000000##000000
##CF45A61.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#DB476F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a6;
/* rgb */ color: rgb(207, 69, 166);
/* oklch */ color: oklch(61.4% 0.201 341.7);
Tailwind
colors: {
  custom: {
    50: '#e182c0',
    500: '#cf45a6',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a6;
$custom-light: #e182c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a6",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 317.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.20076,
    "h": 341.7
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#CF45A6
secondary
#9BD5AC
accent
#E27446
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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