#7E134B#7E134B

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

Color values

HEX#7E134B
RGBrgb(126, 19, 75)
HSLhsl(329, 74%, 28%)
HSVhsv(329, 85%, 49%)
CMYKcmyk(0%, 84.9%, 40.5%, 50.6%)
CIE-LABlab(27.87, 47.77, -5.11)
CIE-LCHlch(27.87, 48.05, 353.90°)
OKLaboklab(39.77% 0.1471 -0.0129)
OKLCHoklch(39.77% 0.148 355)
XYZxyz(10.1078, 5.4107, 7.1673)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E134B #137E46
analogous
#7B137E #7E134B #7E1316
triadic
#7E134B #4B7E13 #134B7E
tetradic
#7E134B #7E7B13 #137E46 #13167E
square
#7E134B #7E7B13 #137E46 #13167E
split-complementary
#7E134B #167E13 #137E7B
monochromatic
#1B0410 #490B2B #7E134B #B31B6B #DF2C8A

Accessibility & contrast

On white

10.09
#7E134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E134B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E134B#FFFFFF#000000##FFFFFF
##7E134B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#89002E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e134b;
/* rgb */ color: rgb(126, 19, 75);
/* oklch */ color: oklch(39.8% 0.148 355.0);
Tailwind
colors: {
  custom: {
    50: '#a85f7d',
    500: '#7e134b',
    950: '#000000',
  },
}
SCSS
$custom: #7e134b;
$custom-light: #a85f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e134b",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 328.598,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39774,
    "c": 0.14763,
    "h": 355
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#7E134B
secondary
#39B474
accent
#F09037
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7E134B

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

Preview Lab → · Contrast checker → · Palette generator →

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