#CF45B5#CF45B5

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

Color values

HEX#CF45B5
RGBrgb(207, 69, 181)
HSLhsl(311, 59%, 54%)
HSVhsv(311, 67%, 81%)
CMYKcmyk(0%, 66.7%, 12.6%, 18.8%)
CIE-LABlab(52.80, 65.90, -31.27)
CIE-LCHlch(52.80, 72.94, 334.62°)
OKLaboklab(62.08% 0.193 -0.085)
OKLCHoklch(62.08% 0.211 336.2)
XYZxyz(36.2012, 20.8609, 45.8271)
Luminance0.2086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B5 #45CF5F
analogous
#A445CF #CF45B5 #CF4570
triadic
#CF45B5 #B5CF45 #45B5CF
tetradic
#CF45B5 #CFA445 #45CF5F #4570CF
square
#CF45B5 #CFA445 #45CF5F #4570CF
split-complementary
#CF45B5 #70CF45 #45CFA4
monochromatic
#7A2069 #AB2C93 #CF45B5 #DC76C8 #E8A6DC

Accessibility & contrast

On white

4.06
#CF45B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B5#FFFFFF#000000##000000
##CF45B51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#7486B2
Tritanopia (blue-blind)
#D94D77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b5;
/* rgb */ color: rgb(207, 69, 181);
/* oklch */ color: oklch(62.1% 0.211 336.2);
Tailwind
colors: {
  custom: {
    50: '#e183cb',
    500: '#cf45b5',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b5;
$custom-light: #e183cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b5",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 311.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62077,
    "c": 0.21087,
    "h": 336.2
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#CF45B5
secondary
#9BD5A6
accent
#E26346
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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