#7E134C#7E134C

#7E134C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.148 H 354.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E134C
RGBrgb(126, 19, 76)
HSLhsl(328, 74%, 28%)
HSVhsv(328, 85%, 49%)
CMYKcmyk(0%, 84.9%, 39.7%, 50.6%)
CIE-LABlab(27.91, 47.88, -5.72)
CIE-LCHlch(27.91, 48.22, 353.19°)
OKLaboklab(39.81% 0.1474 -0.0145)
OKLCHoklch(39.81% 0.148 354.4)
XYZxyz(10.1423, 5.4245, 7.3490)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E134C #137E45
analogous
#7A137E #7E134C #7E1317
triadic
#7E134C #4C7E13 #134C7E
tetradic
#7E134C #7E7A13 #137E45 #13177E
square
#7E134C #7E7A13 #137E45 #13177E
split-complementary
#7E134C #177E13 #137E7A
monochromatic
#1B0410 #490B2C #7E134C #B31B6C #DF2C8C

Accessibility & contrast

On white

10.07
#7E134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E134C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E134C#FFFFFF#000000##FFFFFF
##7E134C1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#89012E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e134c;
/* rgb */ color: rgb(126, 19, 76);
/* oklch */ color: oklch(39.8% 0.148 354.4);
Tailwind
colors: {
  custom: {
    50: '#a85f7e',
    500: '#7e134c',
    950: '#000000',
  },
}
SCSS
$custom: #7e134c;
$custom-light: #a85f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e134c",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 328.037,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.14808,
    "h": 354.4
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#7E134C
secondary
#39B472
accent
#F08E37
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E134C

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

Preview Lab → · Contrast checker → · Palette generator →

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