#CF45B4#CF45B4

#CF45B4 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.210 H 336.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CF45B4
RGBrgb(207, 69, 180)
HSLhsl(312, 59%, 54%)
HSVhsv(312, 67%, 81%)
CMYKcmyk(0%, 66.7%, 13%, 18.8%)
CIE-LABlab(52.75, 65.75, -30.76)
CIE-LCHlch(52.75, 72.59, 334.93°)
OKLaboklab(62.03% 0.1928 -0.0836)
OKLCHoklch(62.03% 0.21 336.6)
XYZxyz(36.0990, 20.8201, 45.2886)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B4 #45CF60
analogous
#A545CF #CF45B4 #CF456F
triadic
#CF45B4 #B4CF45 #45B4CF
tetradic
#CF45B4 #CFA545 #45CF60 #456FCF
square
#CF45B4 #CFA545 #45CF60 #456FCF
split-complementary
#CF45B4 #6FCF45 #45CFA5
monochromatic
#7A2068 #AB2C92 #CF45B4 #DC76C8 #E8A6DB

Accessibility & contrast

On white

4.07
#CF45B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CF45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B4#FFFFFF#000000##000000
##CF45B41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B7
Deuteranopia (green-blind)
#7585B1
Tritanopia (blue-blind)
#D94D76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b4;
/* rgb */ color: rgb(207, 69, 180);
/* oklch */ color: oklch(62.0% 0.210 336.6);
Tailwind
colors: {
  custom: {
    50: '#e183ca',
    500: '#cf45b4',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b4;
$custom-light: #e183ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b4",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 311.739,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.21016,
    "h": 336.6
  },
  "luminance": 0.20817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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