#CF45B8#CF45B8

#CF45B8 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.2% C 0.213 H 335.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF45B8
RGBrgb(207, 69, 184)
HSLhsl(310, 59%, 54%)
HSVhsv(310, 67%, 81%)
CMYKcmyk(0%, 66.7%, 11.1%, 18.8%)
CIE-LABlab(52.93, 66.34, -32.80)
CIE-LCHlch(52.93, 74.01, 333.69°)
OKLaboklab(62.22% 0.1933 -0.0894)
OKLCHoklch(62.22% 0.213 335.2)
XYZxyz(36.5124, 20.9854, 47.4657)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B8 #45CF5C
analogous
#A145CF #CF45B8 #CF4573
triadic
#CF45B8 #B8CF45 #45B8CF
tetradic
#CF45B8 #CFA145 #45CF5C #4573CF
square
#CF45B8 #CFA145 #45CF5C #4573CF
split-complementary
#CF45B8 #73CF45 #45CFA1
monochromatic
#7A206B #AB2C96 #CF45B8 #DC76CB #E8A6DD

Accessibility & contrast

On white

4.04
#CF45B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF45B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B8#FFFFFF#000000##000000
##CF45B81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#7386B5
Tritanopia (blue-blind)
#D94F79
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b8;
/* rgb */ color: rgb(207, 69, 184);
/* oklch */ color: oklch(62.2% 0.213 335.2);
Tailwind
colors: {
  custom: {
    50: '#e183cd',
    500: '#cf45b8',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b8;
$custom-light: #e183cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b8",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 310,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.213,
    "h": 335.2
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#CF45B8
secondary
#9BD5A4
accent
#E26046
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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