#7E2F45#7E2F45

#7E2F45 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.111 H 5.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2F45
RGBrgb(126, 47, 69)
HSLhsl(343, 46%, 34%)
HSVhsv(343, 63%, 49%)
CMYKcmyk(0%, 62.7%, 45.2%, 50.6%)
CIE-LABlab(31.58, 36.32, 4.28)
CIE-LCHlch(31.58, 36.57, 6.72°)
OKLaboklab(42.44% 0.1106 0.0114)
OKLCHoklch(42.44% 0.111 5.9)
XYZxyz(10.6956, 6.8996, 6.3976)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F45 #2F7E68
analogous
#7E2F6D #7E2F45 #7E412F
triadic
#7E2F45 #457E2F #2F457E
tetradic
#7E2F45 #6D7E2F #2F7E68 #412F7E
square
#7E2F45 #6D7E2F #2F7E68 #412F7E
split-complementary
#7E2F45 #2F7E41 #2F6D7E
monochromatic
#250E14 #511E2D #7E2F45 #AB405D #C5637E

Accessibility & contrast

On white

8.83
#7E2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E2F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F45
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F45#FFFFFF#000000##FFFFFF
##7E2F451.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#892537
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2f45;
/* rgb */ color: rgb(126, 47, 69);
/* oklch */ color: oklch(42.4% 0.111 5.9);
Tailwind
colors: {
  custom: {
    50: '#a76c78',
    500: '#7e2f45',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f45;
$custom-light: #a76c78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f45",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 343.291,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.1112,
    "h": 5.9
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#7E2F45
secondary
#5DAC96
accent
#D5B152
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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