#7E1F53#7E1F53

#7E1F53 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.139 H 351.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7E1F53
RGBrgb(126, 31, 83)
HSLhsl(327, 61%, 31%)
HSVhsv(327, 75%, 49%)
CMYKcmyk(0%, 75.4%, 34.1%, 50.6%)
CIE-LABlab(29.52, 44.90, -7.95)
CIE-LCHlch(29.52, 45.60, 349.96°)
OKLaboklab(41.07% 0.1374 -0.0206)
OKLCHoklch(41.07% 0.139 351.5)
XYZxyz(10.6561, 6.0414, 8.7869)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F53 #1F7E4A
analogous
#791F7E #7E1F53 #7E1F23
triadic
#7E1F53 #537E1F #1F537E
tetradic
#7E1F53 #7E791F #1F7E4A #1F237E
square
#7E1F53 #7E791F #1F7E4A #1F237E
split-complementary
#7E1F53 #237E1F #1F7E79
monochromatic
#1C0712 #4D1333 #7E1F53 #AF2B73 #D14692

Accessibility & contrast

On white

9.51
#7E1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F53
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F53#FFFFFF#000000##FFFFFF
##7E1F531.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3B54
Deuteranopia (green-blind)
#4A4C51
Tritanopia (blue-blind)
#881836
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1f53;
/* rgb */ color: rgb(126, 31, 83);
/* oklch */ color: oklch(41.1% 0.139 351.5);
Tailwind
colors: {
  custom: {
    50: '#a76483',
    500: '#7e1f53',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f53;
$custom-light: #a76483;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f53",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 327.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.13891,
    "h": 351.5
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#7E1F53
secondary
#48B177
accent
#E48C44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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