#CF427B#CF427B

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

Color values

HEX#CF427B
RGBrgb(207, 66, 123)
HSLhsl(336, 59%, 54%)
HSVhsv(336, 68%, 81%)
CMYKcmyk(0%, 68.1%, 40.6%, 18.8%)
CIE-LABlab(50.21, 59.73, -0.80)
CIE-LCHlch(50.21, 59.74, 359.23°)
OKLaboklab(59.47% 0.183 -0.0014)
OKLCHoklch(59.47% 0.183 359.6)
XYZxyz(31.2576, 18.5957, 20.6783)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF427B #42CF96
analogous
#CF42C1 #CF427B #CF4F42
triadic
#CF427B #7BCF42 #427BCF
tetradic
#CF427B #C1CF42 #42CF96 #4F42CF
square
#CF427B #C1CF42 #42CF96 #4F42CF
split-complementary
#CF427B #42CF4F #42C1CF
monochromatic
#781F43 #A92B5E #CF427B #DB739D #E8A4BF

Accessibility & contrast

On white

4.45
#CF427B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CF427B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF427B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF427B#FFFFFF#000000##000000
##CF427B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf427b;
/* rgb */ color: rgb(207, 66, 123);
/* oklch */ color: oklch(59.5% 0.183 359.6);
Tailwind
colors: {
  custom: {
    50: '#e380a1',
    500: '#cf427b',
    950: '#000000',
  },
}
SCSS
$custom: #cf427b;
$custom-light: #e380a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf427b",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 335.745,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.18297,
    "h": 359.6
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#CF427B
secondary
#98D5BC
accent
#E3A345
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CF427B

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

Preview Lab → · Contrast checker → · Palette generator →

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