#CE7EA2#CE7EA2

#CE7EA2 is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.8% C 0.108 H 351.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CE7EA2
RGBrgb(206, 126, 162)
HSLhsl(333, 45%, 65%)
HSVhsv(333, 39%, 81%)
CMYKcmyk(0%, 38.8%, 21.4%, 19.2%)
CIE-LABlab(62.22, 35.79, -5.98)
CIE-LCHlch(62.22, 36.29, 350.52°)
OKLaboklab(68.83% 0.1071 -0.0154)
OKLCHoklch(68.83% 0.108 351.8)
XYZxyz(39.4368, 30.6548, 38.0152)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EA2 #7ECEAA
analogous
#CE7ECA #CE7EA2 #CE827E
triadic
#CE7EA2 #A2CE7E #7EA2CE
tetradic
#CE7EA2 #CACE7E #7ECEAA #827ECE
square
#CE7EA2 #CACE7E #7ECEAA #827ECE
split-complementary
#CE7EA2 #7ECE82 #7ECACE
monochromatic
#983A64 #BD5282 #CE7EA2 #DFAAC2 #F0D7E2

Accessibility & contrast

On white

2.95
#CE7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CE7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EA2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EA2#FFFFFF#000000##000000
##CE7EA21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#9A9CA0
Tritanopia (blue-blind)
#D97B8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ce7ea2;
/* rgb */ color: rgb(206, 126, 162);
/* oklch */ color: oklch(68.8% 0.108 351.8);
Tailwind
colors: {
  custom: {
    50: '#dea5bd',
    500: '#ce7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ce7ea2;
$custom-light: #dea5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7ea2",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 333,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68829,
    "c": 0.10822,
    "h": 351.8
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#CE7EA2
secondary
#C6E1D5
accent
#B87A2D
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CE7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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