#CF45B6#CF45B6

#CF45B6 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.1% C 0.212 H 335.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF45B6
RGBrgb(207, 69, 182)
HSLhsl(311, 59%, 54%)
HSVhsv(311, 67%, 81%)
CMYKcmyk(0%, 66.7%, 12.1%, 18.8%)
CIE-LABlab(52.84, 66.05, -31.78)
CIE-LCHlch(52.84, 73.29, 334.31°)
OKLaboklab(62.12% 0.1931 -0.0865)
OKLCHoklch(62.12% 0.212 335.9)
XYZxyz(36.3042, 20.9021, 46.3694)
Luminance0.2090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B6 #45CF5E
analogous
#A345CF #CF45B6 #CF4571
triadic
#CF45B6 #B6CF45 #45B6CF
tetradic
#CF45B6 #CFA345 #45CF5E #4571CF
square
#CF45B6 #CFA345 #45CF5E #4571CF
split-complementary
#CF45B6 #71CF45 #45CFA3
monochromatic
#7A206A #AB2C94 #CF45B6 #DC76C9 #E8A6DC

Accessibility & contrast

On white

4.05
#CF45B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF45B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B6#FFFFFF#000000##000000
##CF45B61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#7486B3
Tritanopia (blue-blind)
#D94E78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b6;
/* rgb */ color: rgb(207, 69, 182);
/* oklch */ color: oklch(62.1% 0.212 335.9);
Tailwind
colors: {
  custom: {
    50: '#e183cc',
    500: '#cf45b6',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b6;
$custom-light: #e183cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b6",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 310.87,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62124,
    "c": 0.21158,
    "h": 335.9
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#CF45B6
secondary
#9BD5A5
accent
#E26246
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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