#CF45A2#CF45A2

#CF45A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.198 H 343.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CF45A2
RGBrgb(207, 69, 162)
HSLhsl(320, 59%, 54%)
HSVhsv(320, 67%, 81%)
CMYKcmyk(0%, 66.7%, 21.7%, 18.8%)
CIE-LABlab(51.99, 63.21, -21.40)
CIE-LCHlch(51.99, 66.74, 341.30°)
OKLaboklab(61.22% 0.1898 -0.0571)
OKLCHoklch(61.22% 0.198 343.2)
XYZxyz(34.3830, 20.1336, 36.2508)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF45A2 #45CF72
analogous
#B745CF #CF45A2 #CF455D
triadic
#CF45A2 #A2CF45 #45A2CF
tetradic
#CF45A2 #CFB745 #45CF72 #455DCF
square
#CF45A2 #CFB745 #45CF72 #455DCF
split-complementary
#CF45A2 #5DCF45 #45CFB7
monochromatic
#7A205D #AB2C81 #CF45A2 #DC76BA #E8A6D3

Accessibility & contrast

On white

4.18
#CF45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CF45A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF45A2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF45A2#FFFFFF#000000##000000
##CF45A21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#7B849F
Tritanopia (blue-blind)
#DC456D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf45a2;
/* rgb */ color: rgb(207, 69, 162);
/* oklch */ color: oklch(61.2% 0.198 343.2);
Tailwind
colors: {
  custom: {
    50: '#e182bd',
    500: '#cf45a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf45a2;
$custom-light: #e182bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf45a2",
  "rgb": {
    "r": 207,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 319.565,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.19824,
    "h": 343.2
  },
  "luminance": 0.2013
}

Semantic roles & 50–950 ramp

primary
#CF45A2
secondary
#9BD5AE
accent
#E27946
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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