#CF45B2#CF45B2

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

Color values

HEX#CF45B2
RGBrgb(207, 69, 178)
HSLhsl(313, 59%, 54%)
HSVhsv(313, 67%, 81%)
CMYKcmyk(0%, 66.7%, 14%, 18.8%)
CIE-LABlab(52.66, 65.46, -29.73)
CIE-LCHlch(52.66, 71.89, 335.57°)
OKLaboklab(61.93% 0.1926 -0.0807)
OKLCHoklch(61.93% 0.209 337.3)
XYZxyz(35.8967, 20.7391, 44.2233)
Luminance0.2074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45B2 #45CF62
analogous
#A745CF #CF45B2 #CF456D
triadic
#CF45B2 #B2CF45 #45B2CF
tetradic
#CF45B2 #CFA745 #45CF62 #456DCF
square
#CF45B2 #CFA745 #45CF62 #456DCF
split-complementary
#CF45B2 #6DCF45 #45CFA7
monochromatic
#7A2067 #AB2C90 #CF45B2 #DC76C6 #E8A6DA

Accessibility & contrast

On white

4.08
#CF45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45B2#FFFFFF#000000##000000
##CF45B21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#DA4C75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf45b2;
/* rgb */ color: rgb(207, 69, 178);
/* oklch */ color: oklch(61.9% 0.209 337.3);
Tailwind
colors: {
  custom: {
    50: '#e183c9',
    500: '#cf45b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf45b2;
$custom-light: #e183c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45b2",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 312.609,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.20877,
    "h": 337.3
  },
  "luminance": 0.20736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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