#7E2A45#7E2A45

#7E2A45 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.8% C 0.118 H 4.0°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2A45
RGBrgb(126, 42, 69)
HSLhsl(341, 50%, 33%)
HSVhsv(341, 67%, 49%)
CMYKcmyk(0%, 66.7%, 45.2%, 50.6%)
CIE-LABlab(30.69, 38.70, 3.01)
CIE-LCHlch(30.69, 38.82, 4.45°)
OKLaboklab(41.79% 0.1181 0.0082)
OKLCHoklch(41.79% 0.118 4)
XYZxyz(10.5071, 6.5225, 6.3347)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A45 #2A7E63
analogous
#7E2A6F #7E2A45 #7E392A
triadic
#7E2A45 #457E2A #2A457E
tetradic
#7E2A45 #6F7E2A #2A7E63 #392A7E
square
#7E2A45 #6F7E2A #2A7E63 #392A7E
split-complementary
#7E2A45 #2A7E39 #2A6F7E
monochromatic
#220B13 #501B2C #7E2A45 #AC395E #C85A7E

Accessibility & contrast

On white

9.11
#7E2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A45
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A45#FFFFFF#000000##FFFFFF
##7E2A451.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#514E43
Tritanopia (blue-blind)
#891F35
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2a45;
/* rgb */ color: rgb(126, 42, 69);
/* oklch */ color: oklch(41.8% 0.118 4.0);
Tailwind
colors: {
  custom: {
    50: '#a76978',
    500: '#7e2a45',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a45;
$custom-light: #a76978;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a45",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 340.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41786,
    "c": 0.11842,
    "h": 4
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#7E2A45
secondary
#56AE92
accent
#DAAD4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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