#CE42A2#CE42A2

#CE42A2 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.201 H 342.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CE42A2
RGBrgb(206, 66, 162)
HSLhsl(319, 59%, 53%)
HSVhsv(319, 68%, 81%)
CMYKcmyk(0%, 68%, 21.4%, 19.2%)
CIE-LABlab(51.42, 64.08, -22.29)
CIE-LCHlch(51.42, 67.85, 340.82°)
OKLaboklab(60.77% 0.1923 -0.0596)
OKLCHoklch(60.77% 0.201 342.8)
XYZxyz(33.9245, 19.6302, 36.1778)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A2 #42CE6E
analogous
#B442CE #CE42A2 #CE425C
triadic
#CE42A2 #A2CE42 #42A2CE
tetradic
#CE42A2 #CEB442 #42CE6E #425CCE
square
#CE42A2 #CEB442 #42CE6E #425CCE
split-complementary
#CE42A2 #5CCE42 #42CEB4
monochromatic
#771F5B #A72B80 #CE42A2 #DB73BA #E7A3D2

Accessibility & contrast

On white

4.26
#CE42A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CE42A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A2#FFFFFF#000000##000000
##CE42A21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#DB436C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce42a2;
/* rgb */ color: rgb(206, 66, 162);
/* oklch */ color: oklch(60.8% 0.201 342.8);
Tailwind
colors: {
  custom: {
    50: '#e181bd',
    500: '#ce42a2',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a2;
$custom-light: #e181bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a2",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 318.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.20136,
    "h": 342.8
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#CE42A2
secondary
#98D4AB
accent
#E27746
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A2

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

Preview Lab → · Contrast checker → · Palette generator →

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