#CF45B1#CF45B1

#CF45B1 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.9% C 0.208 H 337.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF45B1
RGBrgb(207, 69, 177)
HSLhsl(313, 59%, 54%)
HSVhsv(313, 67%, 81%)
CMYKcmyk(0%, 66.7%, 14.5%, 18.8%)
CIE-LABlab(52.62, 65.31, -29.21)
CIE-LCHlch(52.62, 71.55, 335.90°)
OKLaboklab(61.89% 0.1924 -0.0792)
OKLCHoklch(61.89% 0.208 337.6)
XYZxyz(35.7967, 20.6991, 43.6965)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B1 #45CF63
analogous
#A845CF #CF45B1 #CF456C
triadic
#CF45B1 #B1CF45 #45B1CF
tetradic
#CF45B1 #CFA845 #45CF63 #456CCF
square
#CF45B1 #CFA845 #45CF63 #456CCF
split-complementary
#CF45B1 #6CCF45 #45CFA8
monochromatic
#7A2066 #AB2C8F #CF45B1 #DC76C5 #E8A6DA

Accessibility & contrast

On white

4.09
#CF45B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF45B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B1#FFFFFF#000000##000000
##CF45B11.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#7685AE
Tritanopia (blue-blind)
#DA4C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b1;
/* rgb */ color: rgb(207, 69, 177);
/* oklch */ color: oklch(61.9% 0.208 337.6);
Tailwind
colors: {
  custom: {
    50: '#e183c8',
    500: '#cf45b1',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b1;
$custom-light: #e183c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b1",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 313.043,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.20808,
    "h": 337.6
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#CF45B1
secondary
#9BD5A7
accent
#E26846
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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