#7E1245#7E1245

#7E1245 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.146 H 358.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7E1245
RGBrgb(126, 18, 69)
HSLhsl(332, 75%, 28%)
HSVhsv(332, 86%, 49%)
CMYKcmyk(0%, 85.7%, 45.2%, 50.6%)
CIE-LABlab(27.57, 47.41, -1.53)
CIE-LCHlch(27.57, 47.44, 358.15°)
OKLaboklab(39.48% 0.146 -0.0034)
OKLCHoklch(39.48% 0.146 358.6)
XYZxyz(9.8955, 5.2992, 6.1309)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1245 #127E4B
analogous
#7E127B #7E1245 #7E1512
triadic
#7E1245 #457E12 #12457E
tetradic
#7E1245 #7B7E12 #127E4B #15127E
square
#7E1245 #7B7E12 #127E4B #15127E
split-complementary
#7E1245 #127E15 #127B7E
monochromatic
#1B040F #480A28 #7E1245 #B41A62 #E12A80

Accessibility & contrast

On white

10.20
#7E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1245
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1245#FFFFFF#000000##FFFFFF
##7E12451.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3446
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1245;
/* rgb */ color: rgb(126, 18, 69);
/* oklch */ color: oklch(39.5% 0.146 358.6);
Tailwind
colors: {
  custom: {
    50: '#a85f78',
    500: '#7e1245',
    950: '#000000',
  },
}
SCSS
$custom: #7e1245;
$custom-light: #a85f78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1245",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 331.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.14601,
    "h": 358.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#7E1245
secondary
#38B479
accent
#F29936
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #7E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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