#CF45B7#CF45B7

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

Color values

HEX#CF45B7
RGBrgb(207, 69, 183)
HSLhsl(310, 59%, 54%)
HSVhsv(310, 67%, 81%)
CMYKcmyk(0%, 66.7%, 11.6%, 18.8%)
CIE-LABlab(52.89, 66.19, -32.29)
CIE-LCHlch(52.89, 73.65, 334.00°)
OKLaboklab(62.17% 0.1932 -0.0879)
OKLCHoklch(62.17% 0.212 335.5)
XYZxyz(36.4079, 20.9436, 46.9156)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B7 #45CF5D
analogous
#A245CF #CF45B7 #CF4572
triadic
#CF45B7 #B7CF45 #45B7CF
tetradic
#CF45B7 #CFA245 #45CF5D #4572CF
square
#CF45B7 #CFA245 #45CF5D #4572CF
split-complementary
#CF45B7 #72CF45 #45CFA2
monochromatic
#7A206A #AB2C95 #CF45B7 #DC76CA #E8A6DD

Accessibility & contrast

On white

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

On black

5.19
#CF45B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B7#FFFFFF#000000##000000
##CF45B71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#7386B4
Tritanopia (blue-blind)
#D94E78
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b7;
/* rgb */ color: rgb(207, 69, 183);
/* oklch */ color: oklch(62.2% 0.212 335.5);
Tailwind
colors: {
  custom: {
    50: '#e183cd',
    500: '#cf45b7',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b7;
$custom-light: #e183cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b7",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 310.435,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.21229,
    "h": 335.5
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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