#CE2E7F#CE2E7F

#CE2E7F is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.7% C 0.205 H 355.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CE2E7F
RGBrgb(206, 46, 127)
HSLhsl(330, 63%, 49%)
HSVhsv(330, 78%, 81%)
CMYKcmyk(0%, 77.7%, 38.3%, 19.2%)
CIE-LABlab(47.77, 66.57, -6.86)
CIE-LCHlch(47.77, 66.92, 354.12°)
OKLaboklab(57.68% 0.2046 -0.0172)
OKLCHoklch(57.68% 0.205 355.2)
XYZxyz(30.2634, 16.6119, 21.6873)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2E7F #2ECE7D
analogous
#CD2ECE #CE2E7F #CE2E2F
triadic
#CE2E7F #7FCE2E #2E7FCE
tetradic
#CE2E7F #CECD2E #2ECE7D #2E2FCE
square
#CE2E7F #CECD2E #2ECE7D #2E2FCE
split-complementary
#CE2E7F #2FCE2E #2ECECD
monochromatic
#6A1841 #9C2360 #CE2E7F #DB5E9D #E690BC

Accessibility & contrast

On white

4.86
#CE2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#CE2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE2E7F
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2E7F#FFFFFF#000000##FFFFFF
##CE2E7F1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#DF1753
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ce2e7f;
/* rgb */ color: rgb(206, 46, 127);
/* oklch */ color: oklch(57.7% 0.205 355.2);
Tailwind
colors: {
  custom: {
    50: '#e277a4',
    500: '#ce2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #ce2e7f;
$custom-light: #e277a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2e7f",
  "rgb": {
    "r": 206,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 329.625,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.20536,
    "h": 355.2
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#CE2E7F
secondary
#87D1AB
accent
#E79341
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CE2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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