#CE317F#CE317F

#CE317F is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 57.9% C 0.202 H 355.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CE317F
RGBrgb(206, 49, 127)
HSLhsl(330, 62%, 50%)
HSVhsv(330, 76%, 81%)
CMYKcmyk(0%, 76.2%, 38.3%, 19.2%)
CIE-LABlab(48.08, 65.69, -6.40)
CIE-LCHlch(48.08, 66.00, 354.44°)
OKLaboklab(57.91% 0.2019 -0.016)
OKLCHoklch(57.91% 0.202 355.5)
XYZxyz(30.3848, 16.8546, 21.7278)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE317F #31CE80
analogous
#CE31CE #CE317F #CE3131
triadic
#CE317F #7FCE31 #317FCE
tetradic
#CE317F #CECE31 #31CE80 #3131CE
square
#CE317F #CECE31 #31CE80 #3131CE
split-complementary
#CE317F #31CE31 #31CECE
monochromatic
#6B1942 #9D2561 #CE317F #DA629E #E694BC

Accessibility & contrast

On white

4.81
#CE317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#CE317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE317F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE317F#FFFFFF#000000##FFFFFF
##CE317F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516081
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#DF1C54
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ce317f;
/* rgb */ color: rgb(206, 49, 127);
/* oklch */ color: oklch(57.9% 0.202 355.5);
Tailwind
colors: {
  custom: {
    50: '#e278a4',
    500: '#ce317f',
    950: '#000000',
  },
}
SCSS
$custom: #ce317f;
$custom-light: #e278a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce317f",
  "rgb": {
    "r": 206,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 330.191,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.20249,
    "h": 355.5
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#CE317F
secondary
#8AD1AE
accent
#E59443
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CE317F

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

Preview Lab → · Contrast checker → · Palette generator →

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