#7E1850#7E1850

#7E1850 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.145 H 352.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E1850
RGBrgb(126, 24, 80)
HSLhsl(327, 68%, 29%)
HSVhsv(327, 81%, 49%)
CMYKcmyk(0%, 81%, 36.5%, 50.6%)
CIE-LABlab(28.56, 46.91, -7.41)
CIE-LCHlch(28.56, 47.49, 351.03°)
OKLaboklab(40.34% 0.144 -0.0191)
OKLCHoklch(40.34% 0.145 352.5)
XYZxyz(10.3794, 5.6694, 8.1356)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1850 #187E46
analogous
#79187E #7E1850 #7E181D
triadic
#7E1850 #507E18 #18507E
tetradic
#7E1850 #7E7918 #187E46 #181D7E
square
#7E1850 #7E7918 #187E46 #181D7E
split-complementary
#7E1850 #1D7E18 #187E79
monochromatic
#1A0510 #4B0E2F #7E1850 #B12271 #D93790

Accessibility & contrast

On white

9.84
#7E1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1850
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1850#FFFFFF#000000##FFFFFF
##7E18501.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3851
Deuteranopia (green-blind)
#494A4E
Tritanopia (blue-blind)
#880D32
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1850;
/* rgb */ color: rgb(126, 24, 80);
/* oklch */ color: oklch(40.3% 0.145 352.5);
Tailwind
colors: {
  custom: {
    50: '#a86181',
    500: '#7e1850',
    950: '#000000',
  },
}
SCSS
$custom: #7e1850;
$custom-light: #a86181;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1850",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 327.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.14526,
    "h": 352.5
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7E1850
secondary
#3FB273
accent
#EB8B3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1850

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

Preview Lab → · Contrast checker → · Palette generator →

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