#7E2C6F#7E2C6F

#7E2C6F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.140 H 335.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7E2C6F
RGBrgb(126, 44, 111)
HSLhsl(311, 48%, 33%)
HSVhsv(311, 65%, 49%)
CMYKcmyk(0%, 65.1%, 11.9%, 50.6%)
CIE-LABlab(32.67, 43.63, -21.21)
CIE-LCHlch(32.67, 48.51, 334.08°)
OKLaboklab(43.78% 0.1272 -0.0577)
OKLCHoklch(43.78% 0.14 335.6)
XYZxyz(12.3742, 7.3857, 15.8097)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C6F #2C7E3B
analogous
#642C7E #7E2C6F #7E2C46
triadic
#7E2C6F #6F7E2C #2C6F7E
tetradic
#7E2C6F #7E642C #2C7E3B #2C467E
square
#7E2C6F #7E642C #2C7E3B #2C467E
split-complementary
#7E2C6F #467E2C #2C7E64
monochromatic
#230C1F #511C47 #7E2C6F #AB3C97 #C75EB3

Accessibility & contrast

On white

8.48
#7E2C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E2C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C6F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C6F#FFFFFF#000000##FFFFFF
##7E2C6F1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#46516D
Tritanopia (blue-blind)
#843149
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2c6f;
/* rgb */ color: rgb(126, 44, 111);
/* oklch */ color: oklch(43.8% 0.140 335.6);
Tailwind
colors: {
  custom: {
    50: '#a66b98',
    500: '#7e2c6f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c6f;
$custom-light: #a66b98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c6f",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 310.976,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43779,
    "c": 0.13967,
    "h": 335.6
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#7E2C6F
secondary
#59AD68
accent
#D86950
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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