#7E2E5F#7E2E5F

#7E2E5F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.3% C 0.125 H 345.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7E2E5F
RGBrgb(126, 46, 95)
HSLhsl(323, 47%, 34%)
HSVhsv(323, 63%, 49%)
CMYKcmyk(0%, 63.5%, 24.6%, 50.6%)
CIE-LABlab(32.30, 40.18, -11.55)
CIE-LCHlch(32.30, 41.81, 343.96°)
OKLaboklab(43.27% 0.121 -0.0306)
OKLCHoklch(43.27% 0.125 345.8)
XYZxyz(11.6471, 7.2169, 11.6039)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E5F #2E7E4D
analogous
#752E7E #7E2E5F #7E2E37
triadic
#7E2E5F #5F7E2E #2E5F7E
tetradic
#7E2E5F #7E752E #2E7E4D #2E377E
square
#7E2E5F #7E752E #2E7E4D #2E377E
split-complementary
#7E2E5F #377E2E #2E7E75
monochromatic
#240D1B #511E3D #7E2E5F #AB3E81 #C5619E

Accessibility & contrast

On white

8.60
#7E2E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E2E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E5F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E5F#FFFFFF#000000##FFFFFF
##7E2E5F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#4D515D
Tritanopia (blue-blind)
#862D42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2e5f;
/* rgb */ color: rgb(126, 46, 95);
/* oklch */ color: oklch(43.3% 0.125 345.8);
Tailwind
colors: {
  custom: {
    50: '#a66c8c',
    500: '#7e2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e5f;
$custom-light: #a66c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e5f",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 323.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43272,
    "c": 0.12478,
    "h": 345.8
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#7E2E5F
secondary
#5CAC7B
accent
#D68552
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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