#CF45A9#CF45A9

#CF45A9 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.5% C 0.203 H 340.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF45A9
RGBrgb(207, 69, 169)
HSLhsl(317, 59%, 54%)
HSVhsv(317, 67%, 81%)
CMYKcmyk(0%, 66.7%, 18.4%, 18.8%)
CIE-LABlab(52.27, 64.17, -25.07)
CIE-LCHlch(52.27, 68.89, 338.66°)
OKLaboklab(61.53% 0.1911 -0.0675)
OKLCHoklch(61.53% 0.203 340.6)
XYZxyz(35.0226, 20.3895, 39.6195)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A9 #45CF6B
analogous
#B045CF #CF45A9 #CF4564
triadic
#CF45A9 #A9CF45 #45A9CF
tetradic
#CF45A9 #CFB045 #45CF6B #4564CF
square
#CF45A9 #CFB045 #45CF6B #4564CF
split-complementary
#CF45A9 #64CF45 #45CFB0
monochromatic
#7A2061 #AB2C88 #CF45A9 #DC76BF #E8A6D6

Accessibility & contrast

On white

4.14
#CF45A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF45A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A9#FFFFFF#000000##000000
##CF45A91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAC
Deuteranopia (green-blind)
#7985A6
Tritanopia (blue-blind)
#DB4871
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45a9;
/* rgb */ color: rgb(207, 69, 169);
/* oklch */ color: oklch(61.5% 0.203 340.6);
Tailwind
colors: {
  custom: {
    50: '#e183c2',
    500: '#cf45a9',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a9;
$custom-light: #e183c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a9",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 316.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.2027,
    "h": 340.6
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#CF45A9
secondary
#9BD5AB
accent
#E27146
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A9

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

Preview Lab → · Contrast checker → · Palette generator →

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