#7E1535#7E1535

#7E1535 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 9.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7E1535
RGBrgb(126, 21, 53)
HSLhsl(342, 71%, 29%)
HSVhsv(342, 83%, 49%)
CMYKcmyk(0%, 83.3%, 57.9%, 50.6%)
CIE-LABlab(27.38, 45.18, 9.00)
CIE-LCHlch(27.38, 46.07, 11.27°)
OKLaboklab(39.19% 0.1373 0.0227)
OKLCHoklch(39.19% 0.139 9.4)
XYZxyz(9.5159, 5.2304, 3.8760)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1535 #157E5E
analogous
#7E156A #7E1535 #7E2915
triadic
#7E1535 #357E15 #15357E
tetradic
#7E1535 #6A7E15 #157E5E #29157E
square
#7E1535 #6A7E15 #157E5E #29157E
split-complementary
#7E1535 #157E29 #156A7E
monochromatic
#1A040B #4A0C1F #7E1535 #B21E4B #DD3165

Accessibility & contrast

On white

10.26
#7E1535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1535
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1535#FFFFFF#000000##FFFFFF
##7E15351.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323336
Deuteranopia (green-blind)
#4D4832
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1535;
/* rgb */ color: rgb(126, 21, 53);
/* oklch */ color: oklch(39.2% 0.139 9.4);
Tailwind
colors: {
  custom: {
    50: '#a95f6b',
    500: '#7e1535',
    950: '#000000',
  },
}
SCSS
$custom: #7e1535;
$custom-light: #a95f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1535",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 341.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.13912,
    "h": 9.4
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7E1535
secondary
#3CB38F
accent
#EEB73A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1535

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

Preview Lab → · Contrast checker → · Palette generator →

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