#CF45AC#CF45AC

#CF45AC is a mid, highly saturated pink. Relative luminance 0.205; OKLCH L 61.7% C 0.205 H 339.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF45AC
RGBrgb(207, 69, 172)
HSLhsl(315, 59%, 54%)
HSVhsv(315, 67%, 81%)
CMYKcmyk(0%, 66.7%, 16.9%, 18.8%)
CIE-LABlab(52.40, 64.59, -26.63)
CIE-LCHlch(52.40, 69.87, 337.60°)
OKLaboklab(61.66% 0.1916 -0.0719)
OKLCHoklch(61.66% 0.205 339.4)
XYZxyz(35.3074, 20.5034, 41.1198)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45AC #45CF68
analogous
#AD45CF #CF45AC #CF4567
triadic
#CF45AC #ACCF45 #45ACCF
tetradic
#CF45AC #CFAD45 #45CF68 #4567CF
square
#CF45AC #CFAD45 #45CF68 #4567CF
split-complementary
#CF45AC #67CF45 #45CFAD
monochromatic
#7A2063 #AB2C8B #CF45AC #DC76C2 #E8A6D7

Accessibility & contrast

On white

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

On black

5.10
#CF45AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45AC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45AC#FFFFFF#000000##000000
##CF45AC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf45ac;
/* rgb */ color: rgb(207, 69, 172);
/* oklch */ color: oklch(61.7% 0.205 339.4);
Tailwind
colors: {
  custom: {
    50: '#e183c5',
    500: '#cf45ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf45ac;
$custom-light: #e183c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45ac",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 315.217,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.20468,
    "h": 339.4
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#CF45AC
secondary
#9BD5A9
accent
#E26D46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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