#CF45AB#CF45AB

#CF45AB is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.6% C 0.204 H 339.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CF45AB
RGBrgb(207, 69, 171)
HSLhsl(316, 59%, 54%)
HSVhsv(316, 67%, 81%)
CMYKcmyk(0%, 66.7%, 17.4%, 18.8%)
CIE-LABlab(52.36, 64.45, -26.11)
CIE-LCHlch(52.36, 69.54, 337.95°)
OKLaboklab(61.61% 0.1915 -0.0704)
OKLCHoklch(61.61% 0.204 339.8)
XYZxyz(35.2118, 20.4652, 40.6159)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45AB #45CF69
analogous
#AE45CF #CF45AB #CF4566
triadic
#CF45AB #ABCF45 #45ABCF
tetradic
#CF45AB #CFAE45 #45CF69 #4566CF
square
#CF45AB #CFAE45 #45CF69 #4566CF
split-complementary
#CF45AB #66CF45 #45CFAE
monochromatic
#7A2062 #AB2C8A #CF45AB #DC76C1 #E8A6D7

Accessibility & contrast

On white

4.12
#CF45AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CF45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45AB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45AB#FFFFFF#000000##000000
##CF45AB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#DB4972
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45ab;
/* rgb */ color: rgb(207, 69, 171);
/* oklch */ color: oklch(61.6% 0.204 339.8);
Tailwind
colors: {
  custom: {
    50: '#e183c4',
    500: '#cf45ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf45ab;
$custom-light: #e183c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45ab",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 315.652,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61615,
    "c": 0.20401,
    "h": 339.8
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#CF45AB
secondary
#9BD5AA
accent
#E26E46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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