#CE4F7E#CE4F7E

#CE4F7E is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.9% C 0.166 H 0.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CE4F7E
RGBrgb(206, 79, 126)
HSLhsl(338, 56%, 56%)
HSVhsv(338, 62%, 81%)
CMYKcmyk(0%, 61.7%, 38.8%, 19.2%)
CIE-LABlab(52.09, 54.41, 0.12)
CIE-LCHlch(52.09, 54.41, 0.13°)
OKLaboklab(60.86% 0.1662 0.001)
OKLCHoklch(60.86% 0.166 0.3)
XYZxyz(32.0175, 20.2237, 21.9521)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE4F7E #4FCE9F
analogous
#CE4FBD #CE4F7E #CE5F4F
triadic
#CE4F7E #7ECE4F #4F7ECE
tetradic
#CE4F7E #BDCE4F #4FCE9F #5F4FCE
square
#CE4F7E #BDCE4F #4FCE9F #5F4FCE
split-complementary
#CE4F7E #4FCE5F #4FBDCE
monochromatic
#7F2345 #AF315F #CE4F7E #DB7FA1 #E9AFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE4F7E#FFFFFF#000000##000000
##CE4F7E1.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)
#666D7F
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#DE4261
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce4f7e;
/* rgb */ color: rgb(206, 79, 126);
/* oklch */ color: oklch(60.9% 0.166 0.3);
Tailwind
colors: {
  custom: {
    50: '#e187a3',
    500: '#ce4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ce4f7e;
$custom-light: #e187a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce4f7e",
  "rgb": {
    "r": 206,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 337.795,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.16617,
    "h": 0.3
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#CE4F7E
secondary
#A2D7C3
accent
#E0A848
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CE4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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