#CF45AA#CF45AA

#CF45AA is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.203 H 340.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF45AA
RGBrgb(207, 69, 170)
HSLhsl(316, 59%, 54%)
HSVhsv(316, 67%, 81%)
CMYKcmyk(0%, 66.7%, 17.9%, 18.8%)
CIE-LABlab(52.32, 64.31, -25.59)
CIE-LCHlch(52.32, 69.22, 338.30°)
OKLaboklab(61.57% 0.1913 -0.0689)
OKLCHoklch(61.57% 0.203 340.2)
XYZxyz(35.1168, 20.4272, 40.1158)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45AA #45CF6A
analogous
#AF45CF #CF45AA #CF4565
triadic
#CF45AA #AACF45 #45AACF
tetradic
#CF45AA #CFAF45 #45CF6A #4565CF
square
#CF45AA #CFAF45 #45CF6A #4565CF
split-complementary
#CF45AA #65CF45 #45CFAF
monochromatic
#7A2062 #AB2C89 #CF45AA #DC76C0 #E8A6D6

Accessibility & contrast

On white

4.13
#CF45AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CF45AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45AA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45AA#FFFFFF#000000##000000
##CF45AA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7885A7
Tritanopia (blue-blind)
#DB4971
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf45aa;
/* rgb */ color: rgb(207, 69, 170);
/* oklch */ color: oklch(61.6% 0.203 340.2);
Tailwind
colors: {
  custom: {
    50: '#e183c3',
    500: '#cf45aa',
    950: '#000000',
  },
}
SCSS
$custom: #cf45aa;
$custom-light: #e183c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45aa",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 316.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.20335,
    "h": 340.2
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#CF45AA
secondary
#9BD5AA
accent
#E27046
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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