#CF42A0#CF42A0

#CF42A0 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.8% C 0.201 H 343.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CF42A0
RGBrgb(207, 66, 160)
HSLhsl(320, 59%, 54%)
HSVhsv(320, 68%, 81%)
CMYKcmyk(0%, 68.1%, 22.7%, 18.8%)
CIE-LABlab(51.50, 64.08, -20.97)
CIE-LCHlch(51.50, 67.42, 341.88°)
OKLaboklab(60.84% 0.1929 -0.0559)
OKLCHoklch(60.84% 0.201 343.8)
XYZxyz(34.0267, 19.7033, 35.2620)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF42A0 #42CF71
analogous
#B742CF #CF42A0 #CF4259
triadic
#CF42A0 #A0CF42 #42A0CF
tetradic
#CF42A0 #CFB742 #42CF71 #4259CF
square
#CF42A0 #CFB742 #42CF71 #4259CF
split-complementary
#CF42A0 #59CF42 #42CFB7
monochromatic
#781F5A #A92B7F #CF42A0 #DB73B9 #E8A4D1

Accessibility & contrast

On white

4.25
#CF42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CF42A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF42A0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF42A0#FFFFFF#000000##000000
##CF42A01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA3
Deuteranopia (green-blind)
#7A839D
Tritanopia (blue-blind)
#DC426B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf42a0;
/* rgb */ color: rgb(207, 66, 160);
/* oklch */ color: oklch(60.8% 0.201 343.8);
Tailwind
colors: {
  custom: {
    50: '#e281bc',
    500: '#cf42a0',
    950: '#000000',
  },
}
SCSS
$custom: #cf42a0;
$custom-light: #e281bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf42a0",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 320,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.20083,
    "h": 343.8
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#CF42A0
secondary
#98D5AC
accent
#E37A45
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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