#7E1530#7E1530

#7E1530 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 12.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1530
RGBrgb(126, 21, 48)
HSLhsl(345, 71%, 29%)
HSVhsv(345, 83%, 49%)
CMYKcmyk(0%, 83.3%, 61.9%, 50.6%)
CIE-LABlab(27.26, 44.81, 12.22)
CIE-LCHlch(27.26, 46.45, 15.25°)
OKLaboklab(39.06% 0.1352 0.0302)
OKLCHoklch(39.06% 0.138 12.6)
XYZxyz(9.4068, 5.1868, 3.3016)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1530 #157E63
analogous
#7E1565 #7E1530 #7E2E15
triadic
#7E1530 #307E15 #15307E
tetradic
#7E1530 #657E15 #157E63 #2E157E
square
#7E1530 #657E15 #157E63 #2E157E
split-complementary
#7E1530 #157E2E #15657E
monochromatic
#1A040A #4A0C1C #7E1530 #B21E44 #DD315D

Accessibility & contrast

On white

10.31
#7E1530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1530
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1530#FFFFFF#000000##FFFFFF
##7E15301.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333330
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1530;
/* rgb */ color: rgb(126, 21, 48);
/* oklch */ color: oklch(39.1% 0.138 12.6);
Tailwind
colors: {
  custom: {
    50: '#aa5f68',
    500: '#7e1530',
    950: '#000000',
  },
}
SCSS
$custom: #7e1530;
$custom-light: #aa5f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1530",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 48
  },
  "hsl": {
    "h": 344.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.13849,
    "h": 12.6
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

primary
#7E1530
secondary
#3CB394
accent
#EEC03A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1530

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

Preview Lab → · Contrast checker → · Palette generator →

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