#E796CF#E796CF

#E796CF is a light, vivid pink. Relative luminance 0.433; OKLCH L 77.2% C 0.121 H 338.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#E796CF
RGBrgb(231, 150, 207)
HSLhsl(318, 63%, 75%)
HSVhsv(318, 35%, 91%)
CMYKcmyk(0%, 35.1%, 10.4%, 9.4%)
CIE-LABlab(71.76, 38.67, -16.63)
CIE-LCHlch(71.76, 42.10, 336.73°)
OKLaboklab(77.19% 0.1122 -0.0443)
OKLCHoklch(77.19% 0.121 338.4)
XYZxyz(55.1237, 43.3094, 64.4754)
Luminance0.4331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E796CF #96E7AE
analogous
#D796E7 #E796CF #E796A6
triadic
#E796CF #CFE796 #96CFE7
tetradic
#E796CF #E7D796 #96E7AE #96A6E7
square
#E796CF #E7D796 #96E7AE #96A6E7
split-complementary
#E796CF #A6E796 #96E7D7
monochromatic
#D032A1 #DC64B8 #E796CF #F2C8E6 #F9E6F4

Accessibility & contrast

On white

2.17
#E796CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#E796CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E796CF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E796CF#FFFFFF#000000##000000
##E796CF1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8D1
Deuteranopia (green-blind)
#ACB4CD
Tritanopia (blue-blind)
#F098AA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e796cf;
/* rgb */ color: rgb(231, 150, 207);
/* oklch */ color: oklch(77.2% 0.121 338.4);
Tailwind
colors: {
  custom: {
    50: '#f0b6dd',
    500: '#e796cf',
    950: '#000000',
  },
}
SCSS
$custom: #e796cf;
$custom-light: #f0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#e796cf",
  "rgb": {
    "r": 231,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 317.778,
    "s": 62.791,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.12062,
    "h": 338.4
  },
  "luminance": 0.43307
}

Semantic roles & 50–950 ramp

primary
#E796CF
secondary
#DAF1E1
accent
#CB4F1B
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #E796CF

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

Preview Lab → · Contrast checker → · Palette generator →

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