#CE2F7C#CE2F7C

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

Color values

HEX#CE2F7C
RGBrgb(206, 47, 124)
HSLhsl(331, 63%, 50%)
HSVhsv(331, 77%, 81%)
CMYKcmyk(0%, 77.2%, 39.8%, 19.2%)
CIE-LABlab(47.77, 65.98, -5.03)
CIE-LCHlch(47.77, 66.17, 355.64°)
OKLaboklab(57.65% 0.2029 -0.0124)
OKLCHoklch(57.65% 0.203 356.5)
XYZxyz(30.1104, 16.6139, 20.6861)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2F7C #2FCE81
analogous
#CE2FCC #CE2F7C #CE312F
triadic
#CE2F7C #7CCE2F #2F7CCE
tetradic
#CE2F7C #CCCE2F #2FCE81 #312FCE
square
#CE2F7C #CCCE2F #2FCE81 #312FCE
split-complementary
#CE2F7C #2FCE31 #2FCCCE
monochromatic
#6A1840 #9C245E #CE2F7C #DB609B #E691BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE2F7C#FFFFFF#000000##FFFFFF
##CE2F7C1.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)
#515E7E
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#DF1652
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ce2f7c;
/* rgb */ color: rgb(206, 47, 124);
/* oklch */ color: oklch(57.7% 0.203 356.5);
Tailwind
colors: {
  custom: {
    50: '#e277a1',
    500: '#ce2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #ce2f7c;
$custom-light: #e277a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2f7c",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 330.943,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.20324,
    "h": 356.5
  },
  "luminance": 0.1661
}

Semantic roles & 50–950 ramp

primary
#CE2F7C
secondary
#88D1AE
accent
#E69642
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CE2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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