#CF42AE#CF42AE

#CF42AE is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.5% C 0.210 H 338.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF42AE
RGBrgb(207, 66, 174)
HSLhsl(314, 59%, 54%)
HSVhsv(314, 68%, 81%)
CMYKcmyk(0%, 68.1%, 15.9%, 18.8%)
CIE-LABlab(52.09, 66.00, -28.29)
CIE-LCHlch(52.09, 71.81, 336.80°)
OKLaboklab(61.46% 0.1953 -0.0765)
OKLCHoklch(61.46% 0.21 338.6)
XYZxyz(35.3211, 20.2210, 42.0790)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF42AE #42CF63
analogous
#AA42CF #CF42AE #CF4267
triadic
#CF42AE #AECF42 #42AECF
tetradic
#CF42AE #CFAA42 #42CF63 #4267CF
square
#CF42AE #CFAA42 #42CF63 #4267CF
split-complementary
#CF42AE #67CF42 #42CFAA
monochromatic
#781F63 #A92B8B #CF42AE #DB73C3 #E8A4D8

Accessibility & contrast

On white

4.16
#CF42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF42AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF42AE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF42AE#FFFFFF#000000##000000
##CF42AE1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB1
Deuteranopia (green-blind)
#7684AB
Tritanopia (blue-blind)
#DA4872
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf42ae;
/* rgb */ color: rgb(207, 66, 174);
/* oklch */ color: oklch(61.5% 0.210 338.6);
Tailwind
colors: {
  custom: {
    50: '#e181c6',
    500: '#cf42ae',
    950: '#000000',
  },
}
SCSS
$custom: #cf42ae;
$custom-light: #e181c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf42ae",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 314.043,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.20979,
    "h": 338.6
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#CF42AE
secondary
#98D5A6
accent
#E36A45
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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