#CF45A4#CF45A4

#CF45A4 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.3% C 0.199 H 342.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF45A4
RGBrgb(207, 69, 164)
HSLhsl(319, 59%, 54%)
HSVhsv(319, 67%, 81%)
CMYKcmyk(0%, 66.7%, 20.8%, 18.8%)
CIE-LABlab(52.07, 63.48, -22.45)
CIE-LCHlch(52.07, 67.34, 340.52°)
OKLaboklab(61.31% 0.1902 -0.0601)
OKLCHoklch(61.31% 0.199 342.5)
XYZxyz(34.5621, 20.2053, 37.1946)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A4 #45CF70
analogous
#B545CF #CF45A4 #CF455F
triadic
#CF45A4 #A4CF45 #45A4CF
tetradic
#CF45A4 #CFB545 #45CF70 #455FCF
square
#CF45A4 #CFB545 #45CF70 #455FCF
split-complementary
#CF45A4 #5FCF45 #45CFB5
monochromatic
#7A205E #AB2C83 #CF45A4 #DC76BC #E8A6D4

Accessibility & contrast

On white

4.17
#CF45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF45A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A4#FFFFFF#000000##000000
##CF45A41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA7
Deuteranopia (green-blind)
#7A84A1
Tritanopia (blue-blind)
#DC466E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a4;
/* rgb */ color: rgb(207, 69, 164);
/* oklch */ color: oklch(61.3% 0.199 342.5);
Tailwind
colors: {
  custom: {
    50: '#e182bf',
    500: '#cf45a4',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a4;
$custom-light: #e182bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a4",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 318.696,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.19949,
    "h": 342.5
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#CF45A4
secondary
#9BD5AD
accent
#E27646
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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