#7E2E53#7E2E53

#7E2E53 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.118 H 354.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#7E2E53
RGBrgb(126, 46, 83)
HSLhsl(332, 47%, 34%)
HSVhsv(332, 63%, 49%)
CMYKcmyk(0%, 63.5%, 34.1%, 50.6%)
CIE-LABlab(31.84, 38.50, -4.47)
CIE-LCHlch(31.84, 38.76, 353.38°)
OKLaboklab(42.79% 0.1173 -0.0113)
OKLCHoklch(42.79% 0.118 354.5)
XYZxyz(11.1431, 7.0153, 8.9492)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E53 #2E7E59
analogous
#7E2E7B #7E2E53 #7E312E
triadic
#7E2E53 #537E2E #2E537E
tetradic
#7E2E53 #7B7E2E #2E7E59 #312E7E
square
#7E2E53 #7B7E2E #2E7E59 #312E7E
split-complementary
#7E2E53 #2E7E31 #2E7B7E
monochromatic
#240D18 #511E35 #7E2E53 #AB3E71 #C5618F

Accessibility & contrast

On white

8.74
#7E2E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E2E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E53
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E53#FFFFFF#000000##FFFFFF
##7E2E531.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4254
Deuteranopia (green-blind)
#505051
Tritanopia (blue-blind)
#88293D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2e53;
/* rgb */ color: rgb(126, 46, 83);
/* oklch */ color: oklch(42.8% 0.118 354.5);
Tailwind
colors: {
  custom: {
    50: '#a66b83',
    500: '#7e2e53',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e53;
$custom-light: #a66b83;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e53",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 83
  },
  "hsl": {
    "h": 332.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.11787,
    "h": 354.5
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#7E2E53
secondary
#5CAC87
accent
#D69952
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2E53

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

Preview Lab → · Contrast checker → · Palette generator →

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