#7E1F44#7E1F44

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

Color values

HEX#7E1F44
RGBrgb(126, 31, 68)
HSLhsl(337, 61%, 31%)
HSVhsv(337, 75%, 49%)
CMYKcmyk(0%, 75.4%, 46%, 50.6%)
CIE-LABlab(28.99, 43.20, 1.21)
CIE-LCHlch(28.99, 43.22, 1.60°)
OKLaboklab(40.51% 0.1324 0.0036)
OKLCHoklch(40.51% 0.132 1.6)
XYZxyz(10.1383, 5.8343, 6.0600)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F44 #1F7E59
analogous
#7E1F73 #7E1F44 #7E291F
triadic
#7E1F44 #447E1F #1F447E
tetradic
#7E1F44 #737E1F #1F7E59 #291F7E
square
#7E1F44 #737E1F #1F7E59 #291F7E
split-complementary
#7E1F44 #1F7E29 #1F737E
monochromatic
#1C070F #4D1329 #7E1F44 #AF2B5F #D1467C

Accessibility & contrast

On white

9.69
#7E1F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E1F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F44
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F44#FFFFFF#000000##FFFFFF
##7E1F441.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343945
Deuteranopia (green-blind)
#4E4B42
Tritanopia (blue-blind)
#890F2F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1f44;
/* rgb */ color: rgb(126, 31, 68);
/* oklch */ color: oklch(40.5% 0.132 1.6);
Tailwind
colors: {
  custom: {
    50: '#a86377',
    500: '#7e1f44',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f44;
$custom-light: #a86377;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f44",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 336.632,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.13247,
    "h": 1.6
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#7E1F44
secondary
#48B188
accent
#E4A644
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1F44

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

Preview Lab → · Contrast checker → · Palette generator →

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