#CF45AE#CF45AE

#CF45AE is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.206 H 338.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF45AE
RGBrgb(207, 69, 174)
HSLhsl(314, 59%, 54%)
HSVhsv(314, 67%, 81%)
CMYKcmyk(0%, 66.7%, 15.9%, 18.8%)
CIE-LABlab(52.49, 64.88, -27.67)
CIE-LCHlch(52.49, 70.53, 336.90°)
OKLaboklab(61.75% 0.192 -0.0748)
OKLCHoklch(61.75% 0.206 338.7)
XYZxyz(35.5010, 20.5808, 42.1390)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45AE #45CF66
analogous
#AB45CF #CF45AE #CF4569
triadic
#CF45AE #AECF45 #45AECF
tetradic
#CF45AE #CFAB45 #45CF66 #4569CF
square
#CF45AE #CFAB45 #45CF66 #4569CF
split-complementary
#CF45AE #69CF45 #45CFAB
monochromatic
#7A2064 #AB2C8C #CF45AE #DC76C3 #E8A6D8

Accessibility & contrast

On white

4.11
#CF45AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF45AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45AE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45AE#FFFFFF#000000##000000
##CF45AE1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB1
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#DA4A73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45ae;
/* rgb */ color: rgb(207, 69, 174);
/* oklch */ color: oklch(61.8% 0.206 338.7);
Tailwind
colors: {
  custom: {
    50: '#e183c6',
    500: '#cf45ae',
    950: '#000000',
  },
}
SCSS
$custom: #cf45ae;
$custom-light: #e183c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45ae",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 314.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.20603,
    "h": 338.7
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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