#7E1135#7E1135

#7E1135 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.142 H 8.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7E1135
RGBrgb(126, 17, 53)
HSLhsl(340, 76%, 28%)
HSVhsv(340, 87%, 49%)
CMYKcmyk(0%, 86.5%, 57.9%, 50.6%)
CIE-LABlab(27.00, 46.26, 8.48)
CIE-LCHlch(27.00, 47.03, 10.39°)
OKLaboklab(38.91% 0.1407 0.0215)
OKLCHoklch(38.91% 0.142 8.7)
XYZxyz(9.4482, 5.0950, 3.8534)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1135 #117E5A
analogous
#7E116C #7E1135 #7E2311
triadic
#7E1135 #357E11 #11357E
tetradic
#7E1135 #6C7E11 #117E5A #23117E
square
#7E1135 #6C7E11 #117E5A #23117E
split-complementary
#7E1135 #117E23 #116C7E
monochromatic
#1B040B #480A1E #7E1135 #B4184C #E22765

Accessibility & contrast

On white

10.40
#7E1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1135
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1135#FFFFFF#000000##FFFFFF
##7E11351.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313236
Deuteranopia (green-blind)
#4D4732
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1135;
/* rgb */ color: rgb(126, 17, 53);
/* oklch */ color: oklch(38.9% 0.142 8.7);
Tailwind
colors: {
  custom: {
    50: '#a95e6b',
    500: '#7e1135',
    950: '#000000',
  },
}
SCSS
$custom: #7e1135;
$custom-light: #a95e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1135",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 340.183,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.14237,
    "h": 8.7
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#7E1135
secondary
#37B48B
accent
#F3B435
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1135

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

Preview Lab → · Contrast checker → · Palette generator →

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