#CE407F#CE407F

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

Color values

HEX#CE407F
RGBrgb(206, 64, 127)
HSLhsl(333, 59%, 53%)
HSVhsv(333, 69%, 81%)
CMYKcmyk(0%, 68.9%, 38.3%, 19.2%)
CIE-LABlab(49.89, 60.62, -3.71)
CIE-LCHlch(49.89, 60.73, 356.50°)
OKLaboklab(59.24% 0.1858 -0.009)
OKLCHoklch(59.24% 0.186 357.2)
XYZxyz(31.1198, 18.3246, 21.9728)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE407F #40CE8F
analogous
#CE40C6 #CE407F #CE4840
triadic
#CE407F #7FCE40 #407FCE
tetradic
#CE407F #C6CE40 #40CE8F #4840CE
square
#CE407F #C6CE40 #40CE8F #4840CE
split-complementary
#CE407F #40CE48 #40C6CE
monochromatic
#751E45 #A62B61 #CE407F #DA71A0 #E7A1C0

Accessibility & contrast

On white

4.50
#CE407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CE407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE407F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE407F#FFFFFF#000000##000000
##CE407F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#82807C
Tritanopia (blue-blind)
#DE315A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce407f;
/* rgb */ color: rgb(206, 64, 127);
/* oklch */ color: oklch(59.2% 0.186 357.2);
Tailwind
colors: {
  custom: {
    50: '#e27fa4',
    500: '#ce407f',
    950: '#000000',
  },
}
SCSS
$custom: #ce407f;
$custom-light: #e27fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce407f",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 333.38,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.18597,
    "h": 357.2
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#CE407F
secondary
#96D4B8
accent
#E29D45
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CE407F

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

Preview Lab → · Contrast checker → · Palette generator →

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