#CE3172#CE3172

#CE3172 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.5% C 0.198 H 0.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CE3172
RGBrgb(206, 49, 114)
HSLhsl(335, 62%, 50%)
HSVhsv(335, 76%, 81%)
CMYKcmyk(0%, 76.2%, 44.7%, 19.2%)
CIE-LABlab(47.67, 64.43, 0.94)
CIE-LCHlch(47.67, 64.44, 0.83°)
OKLaboklab(57.48% 0.1978 0.0031)
OKLCHoklch(57.48% 0.198 0.9)
XYZxyz(29.5915, 16.5373, 17.5501)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE3172 #31CE8D
analogous
#CE31C1 #CE3172 #CE3E31
triadic
#CE3172 #72CE31 #3172CE
tetradic
#CE3172 #C1CE31 #31CE8D #3E31CE
square
#CE3172 #C1CE31 #31CE8D #3E31CE
split-complementary
#CE3172 #31CE3E #31C1CE
monochromatic
#6B193B #9D2557 #CE3172 #DA6294 #E694B6

Accessibility & contrast

On white

4.88
#CE3172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CE3172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE3172
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE3172#FFFFFF#000000##FFFFFF
##CE31721.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E74
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#E0104E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ce3172;
/* rgb */ color: rgb(206, 49, 114);
/* oklch */ color: oklch(57.5% 0.198 0.9);
Tailwind
colors: {
  custom: {
    50: '#e3789a',
    500: '#ce3172',
    950: '#000000',
  },
}
SCSS
$custom: #ce3172;
$custom-light: #e3789a;
$custom-dark: #000000;
JSON
{
  "hex": "#ce3172",
  "rgb": {
    "r": 206,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 335.159,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.19783,
    "h": 0.9
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#CE3172
secondary
#8AD1B3
accent
#E5A243
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #CE3172

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

Preview Lab → · Contrast checker → · Palette generator →

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