#7E1F43#7E1F43

#7E1F43 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.132 H 2.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7E1F43
RGBrgb(126, 31, 67)
HSLhsl(337, 61%, 31%)
HSVhsv(337, 75%, 49%)
CMYKcmyk(0%, 75.4%, 46.8%, 50.6%)
CIE-LABlab(28.96, 43.10, 1.83)
CIE-LCHlch(28.96, 43.14, 2.43°)
OKLaboklab(40.48% 0.1321 0.0052)
OKLCHoklch(40.48% 0.132 2.3)
XYZxyz(10.1081, 5.8222, 5.9006)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F43 #1F7E5A
analogous
#7E1F72 #7E1F43 #7E2A1F
triadic
#7E1F43 #437E1F #1F437E
tetradic
#7E1F43 #727E1F #1F7E5A #2A1F7E
square
#7E1F43 #727E1F #1F7E5A #2A1F7E
split-complementary
#7E1F43 #1F7E2A #1F727E
monochromatic
#1C070F #4D1329 #7E1F43 #AF2B5D #D1467B

Accessibility & contrast

On white

9.70
#7E1F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F43
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F43#FFFFFF#000000##FFFFFF
##7E1F431.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343944
Deuteranopia (green-blind)
#4E4B41
Tritanopia (blue-blind)
#890F2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1f43;
/* rgb */ color: rgb(126, 31, 67);
/* oklch */ color: oklch(40.5% 0.132 2.3);
Tailwind
colors: {
  custom: {
    50: '#a86376',
    500: '#7e1f43',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f43;
$custom-light: #a86376;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f43",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 67
  },
  "hsl": {
    "h": 337.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.13215,
    "h": 2.3
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7E1F43
secondary
#48B189
accent
#E4A744
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1F43

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

Preview Lab → · Contrast checker → · Palette generator →

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