#E340B3#E340B3

#E340B3 is a light, highly saturated pink. Relative luminance 0.233; OKLCH L 64.5% C 0.228 H 342.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#E340B3
RGBrgb(227, 64, 179)
HSLhsl(318, 74%, 57%)
HSVhsv(318, 72%, 89%)
CMYKcmyk(0%, 71.8%, 21.1%, 11%)
CIE-LABlab(55.34, 72.30, -25.91)
CIE-LCHlch(55.34, 76.80, 340.28°)
OKLaboklab(64.51% 0.2171 -0.0695)
OKLCHoklch(64.51% 0.228 342.2)
XYZxyz(41.6500, 23.2566, 44.9346)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340B3 #40E370
analogous
#C240E3 #E340B3 #E34062
triadic
#E340B3 #B3E340 #40B3E3
tetradic
#E340B3 #E3C240 #40E370 #4062E3
square
#E340B3 #E3C240 #40E370 #4062E3
split-complementary
#E340B3 #62E340 #40E3C2
monochromatic
#93166E #C81D96 #E340B3 #EB75C8 #F3ABDD

Accessibility & contrast

On white

3.72
#E340B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#E340B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340B3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340B3#FFFFFF#000000##000000
##E340B31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B6
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#F14274
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #e340b3;
/* rgb */ color: rgb(227, 64, 179);
/* oklch */ color: oklch(64.5% 0.228 342.2);
Tailwind
colors: {
  custom: {
    50: '#f083ca',
    500: '#e340b3',
    950: '#000000',
  },
}
SCSS
$custom: #e340b3;
$custom-light: #f083ca;
$custom-dark: #000000;
JSON
{
  "hex": "#e340b3",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 317.669,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64513,
    "c": 0.22796,
    "h": 342.2
  },
  "luminance": 0.23252
}

Semantic roles & 50–950 ramp

primary
#E340B3
secondary
#9EE1B2
accent
#F16E37
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #E340B3

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

Preview Lab → · Contrast checker → · Palette generator →

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