#CE507E#CE507E

#CE507E is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.165 H 0.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CE507E
RGBrgb(206, 80, 126)
HSLhsl(338, 56%, 56%)
HSVhsv(338, 61%, 81%)
CMYKcmyk(0%, 61.2%, 38.8%, 19.2%)
CIE-LABlab(52.25, 53.97, 0.36)
CIE-LCHlch(52.25, 53.97, 0.38°)
OKLaboklab(60.98% 0.1648 0.0016)
OKLCHoklch(60.98% 0.165 0.6)
XYZxyz(32.0901, 20.3691, 21.9763)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE507E #50CEA0
analogous
#CE50BD #CE507E #CE6150
triadic
#CE507E #7ECE50 #507ECE
tetradic
#CE507E #BDCE50 #50CEA0 #6150CE
square
#CE507E #BDCE50 #50CEA0 #6150CE
split-complementary
#CE507E #50CE61 #50BDCE
monochromatic
#802445 #B0315F #CE507E #DB80A1 #E9B0C4

Accessibility & contrast

On white

4.14
#CE507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CE507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE507E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE507E#FFFFFF#000000##000000
##CE507E1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E7F
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#DE4462
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce507e;
/* rgb */ color: rgb(206, 80, 126);
/* oklch */ color: oklch(61.0% 0.165 0.6);
Tailwind
colors: {
  custom: {
    50: '#e187a3',
    500: '#ce507e',
    950: '#000000',
  },
}
SCSS
$custom: #ce507e;
$custom-light: #e187a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce507e",
  "rgb": {
    "r": 206,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 338.095,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.16481,
    "h": 0.6
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE507E

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

Preview Lab → · Contrast checker → · Palette generator →

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