#CF427A#CF427A

#CF427A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.183 H 0.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CF427A
RGBrgb(207, 66, 122)
HSLhsl(336, 59%, 54%)
HSVhsv(336, 68%, 81%)
CMYKcmyk(0%, 68.1%, 41.1%, 18.8%)
CIE-LABlab(50.18, 59.63, -0.24)
CIE-LCHlch(50.18, 59.63, 359.77°)
OKLaboklab(59.44% 0.1826 0.0001)
OKLCHoklch(59.44% 0.183 0)
XYZxyz(31.1954, 18.5708, 20.3503)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF427A #42CF97
analogous
#CF42C1 #CF427A #CF5042
triadic
#CF427A #7ACF42 #427ACF
tetradic
#CF427A #C1CF42 #42CF97 #5042CF
square
#CF427A #C1CF42 #42CF97 #5042CF
split-complementary
#CF427A #42CF50 #42C1CF
monochromatic
#781F42 #A92B5D #CF427A #DB739C #E8A4BF

Accessibility & contrast

On white

4.46
#CF427A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CF427A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF427A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF427A#FFFFFF#000000##000000
##CF427A1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E667B
Deuteranopia (green-blind)
#848177
Tritanopia (blue-blind)
#E03159
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf427a;
/* rgb */ color: rgb(207, 66, 122);
/* oklch */ color: oklch(59.4% 0.183 0.0);
Tailwind
colors: {
  custom: {
    50: '#e380a0',
    500: '#cf427a',
    950: '#000000',
  },
}
SCSS
$custom: #cf427a;
$custom-light: #e380a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf427a",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 336.17,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.18263,
    "h": 0
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#CF427A
secondary
#98D5BD
accent
#E3A445
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF427A

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

Preview Lab → · Contrast checker → · Palette generator →

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