#7E1853#7E1853

#7E1853 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 350.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7E1853
RGBrgb(126, 24, 83)
HSLhsl(325, 68%, 29%)
HSVhsv(325, 81%, 49%)
CMYKcmyk(0%, 81%, 34.1%, 50.6%)
CIE-LABlab(28.68, 47.27, -9.21)
CIE-LCHlch(28.68, 48.16, 348.97°)
OKLaboklab(40.46% 0.1448 -0.024)
OKLCHoklch(40.46% 0.147 350.6)
XYZxyz(10.4928, 5.7147, 8.7324)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1853 #187E43
analogous
#76187E #7E1853 #7E1820
triadic
#7E1853 #537E18 #18537E
tetradic
#7E1853 #7E7618 #187E43 #18207E
square
#7E1853 #7E7618 #187E43 #18207E
split-complementary
#7E1853 #207E18 #187E76
monochromatic
#1A0511 #4B0E31 #7E1853 #B12275 #D93795

Accessibility & contrast

On white

9.80
#7E1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1853
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1853#FFFFFF#000000##FFFFFF
##7E18531.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3855
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#880F33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1853;
/* rgb */ color: rgb(126, 24, 83);
/* oklch */ color: oklch(40.5% 0.147 350.6);
Tailwind
colors: {
  custom: {
    50: '#a86183',
    500: '#7e1853',
    950: '#000000',
  },
}
SCSS
$custom: #7e1853;
$custom-light: #a86183;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1853",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 325.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.14679,
    "h": 350.6
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#7E1853
secondary
#3FB270
accent
#EB863D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1853

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

Preview Lab → · Contrast checker → · Palette generator →

#7E1853 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva