#7E2F69#7E2F69

#7E2F69 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.130 H 339.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2F69
RGBrgb(126, 47, 105)
HSLhsl(316, 46%, 34%)
HSVhsv(316, 63%, 49%)
CMYKcmyk(0%, 62.7%, 16.7%, 50.6%)
CIE-LABlab(32.90, 41.26, -17.04)
CIE-LCHlch(32.90, 44.64, 337.56°)
OKLaboklab(43.85% 0.122 -0.0459)
OKLCHoklch(43.85% 0.13 339.4)
XYZxyz(12.1707, 7.4896, 14.1665)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F69 #2F7E44
analogous
#6C2F7E #7E2F69 #7E2F42
triadic
#7E2F69 #697E2F #2F697E
tetradic
#7E2F69 #7E6C2F #2F7E44 #2F427E
square
#7E2F69 #7E6C2F #2F7E44 #2F427E
split-complementary
#7E2F69 #427E2F #2F7E6C
monochromatic
#250E1F #511E44 #7E2F69 #AB408E #C563AB

Accessibility & contrast

On white

8.41
#7E2F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E2F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F69
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F69#FFFFFF#000000##FFFFFF
##7E2F691.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33456B
Deuteranopia (green-blind)
#4A5267
Tritanopia (blue-blind)
#853147
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2f69;
/* rgb */ color: rgb(126, 47, 105);
/* oklch */ color: oklch(43.9% 0.130 339.4);
Tailwind
colors: {
  custom: {
    50: '#a66d94',
    500: '#7e2f69',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f69;
$custom-light: #a66d94;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f69",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 315.949,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.13032,
    "h": 339.4
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#7E2F69
secondary
#5DAC72
accent
#D57552
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2F69

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

Preview Lab → · Contrast checker → · Palette generator →

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