#CF45B3#CF45B3

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

Color values

HEX#CF45B3
RGBrgb(207, 69, 179)
HSLhsl(312, 59%, 54%)
HSVhsv(312, 67%, 81%)
CMYKcmyk(0%, 66.7%, 13.5%, 18.8%)
CIE-LABlab(52.71, 65.60, -30.24)
CIE-LCHlch(52.71, 72.24, 335.25°)
OKLaboklab(61.98% 0.1927 -0.0821)
OKLCHoklch(61.98% 0.209 336.9)
XYZxyz(35.9975, 20.7795, 44.7540)
Luminance0.2078 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B3 #45CF61
analogous
#A645CF #CF45B3 #CF456E
triadic
#CF45B3 #B3CF45 #45B3CF
tetradic
#CF45B3 #CFA645 #45CF61 #456ECF
square
#CF45B3 #CFA645 #45CF61 #456ECF
split-complementary
#CF45B3 #6ECF45 #45CFA6
monochromatic
#7A2068 #AB2C91 #CF45B3 #DC76C7 #E8A6DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF45B3#FFFFFF#000000##000000
##CF45B31.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)
#4870B6
Deuteranopia (green-blind)
#7585B0
Tritanopia (blue-blind)
#DA4C76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b3;
/* rgb */ color: rgb(207, 69, 179);
/* oklch */ color: oklch(62.0% 0.209 336.9);
Tailwind
colors: {
  custom: {
    50: '#e183ca',
    500: '#cf45b3',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b3;
$custom-light: #e183ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b3",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 312.174,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61982,
    "c": 0.20947,
    "h": 336.9
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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