#EB2873#EB2873

#EB2873 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.9% C 0.228 H 5.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#EB2873
RGBrgb(235, 40, 115)
HSLhsl(337, 83%, 54%)
HSVhsv(337, 83%, 92%)
CMYKcmyk(0%, 83%, 51.1%, 7.8%)
CIE-LABlab(52.31, 74.27, 7.71)
CIE-LCHlch(52.31, 74.67, 5.92°)
OKLaboklab(61.87% 0.2274 0.0202)
OKLCHoklch(61.87% 0.228 5.1)
XYZxyz(38.1178, 20.4231, 18.1512)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB2873 #28EBA0
analogous
#EB28D5 #EB2873 #EB3F28
triadic
#EB2873 #73EB28 #2873EB
tetradic
#EB2873 #D5EB28 #28EBA0 #3F28EB
square
#EB2873 #D5EB28 #28EBA0 #3F28EB
split-complementary
#EB2873 #28EB3F #28D5EB
monochromatic
#8C0D3E #C41256 #EB2873 #F06097 #F598BC

Accessibility & contrast

On white

4.13
#EB2873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#EB2873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EB2873
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB2873#FFFFFF#000000##000000
##EB28731.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6574
Deuteranopia (green-blind)
#918A6E
Tritanopia (blue-blind)
#FF004B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #eb2873;
/* rgb */ color: rgb(235, 40, 115);
/* oklch */ color: oklch(61.9% 0.228 5.1);
Tailwind
colors: {
  custom: {
    50: '#f9799a',
    500: '#eb2873',
    950: '#000000',
  },
}
SCSS
$custom: #eb2873;
$custom-light: #f9799a;
$custom-dark: #000000;
JSON
{
  "hex": "#eb2873",
  "rgb": {
    "r": 235,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 336.923,
    "s": 82.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.22828,
    "h": 5.1
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#EB2873
secondary
#8EE1C1
accent
#F9AB2E
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#190B0E
muted
#877C7E

Preview Lab

Preview with #EB2873

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

Preview Lab → · Contrast checker → · Palette generator →

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