#7E1253#7E1253

#7E1253 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.152 H 350.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7E1253
RGBrgb(126, 18, 83)
HSLhsl(324, 75%, 28%)
HSVhsv(324, 86%, 49%)
CMYKcmyk(0%, 85.7%, 34.1%, 50.6%)
CIE-LABlab(28.10, 48.94, -10.10)
CIE-LCHlch(28.10, 49.97, 348.34°)
OKLaboklab(40.04% 0.1501 -0.0264)
OKLCHoklch(40.04% 0.152 350)
XYZxyz(10.3824, 5.4940, 8.6956)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1253 #127E3D
analogous
#73127E #7E1253 #7E121D
triadic
#7E1253 #537E12 #12537E
tetradic
#7E1253 #7E7312 #127E3D #121D7E
square
#7E1253 #7E7312 #127E3D #121D7E
split-complementary
#7E1253 #1D7E12 #127E73
monochromatic
#1B0412 #480A30 #7E1253 #B41A76 #E12A98

Accessibility & contrast

On white

10.01
#7E1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1253
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1253#FFFFFF#000000##FFFFFF
##7E12531.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273655
Deuteranopia (green-blind)
#464951
Tritanopia (blue-blind)
#880732
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1253;
/* rgb */ color: rgb(126, 18, 83);
/* oklch */ color: oklch(40.0% 0.152 350.0);
Tailwind
colors: {
  custom: {
    50: '#a85f83',
    500: '#7e1253',
    950: '#000000',
  },
}
SCSS
$custom: #7e1253;
$custom-light: #a85f83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1253",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 323.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.15239,
    "h": 350
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#7E1253
secondary
#38B469
accent
#F28136
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1253

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

Preview Lab → · Contrast checker → · Palette generator →

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