#7E2F68#7E2F68

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

Color values

HEX#7E2F68
RGBrgb(126, 47, 104)
HSLhsl(317, 46%, 34%)
HSVhsv(317, 63%, 49%)
CMYKcmyk(0%, 62.7%, 17.5%, 50.6%)
CIE-LABlab(32.85, 41.09, -16.47)
CIE-LCHlch(32.85, 44.27, 338.16°)
OKLaboklab(43.81% 0.1218 -0.0443)
OKLCHoklch(43.81% 0.13 340)
XYZxyz(12.1196, 7.4692, 13.8974)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F68 #2F7E45
analogous
#6D2F7E #7E2F68 #7E2F41
triadic
#7E2F68 #687E2F #2F687E
tetradic
#7E2F68 #7E6D2F #2F7E45 #2F417E
square
#7E2F68 #7E6D2F #2F7E45 #2F417E
split-complementary
#7E2F68 #417E2F #2F7E6D
monochromatic
#250E1E #511E43 #7E2F68 #AB408D #C563A9

Accessibility & contrast

On white

8.42
#7E2F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E2F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F68
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F68#FFFFFF#000000##FFFFFF
##7E2F681.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2f68;
/* rgb */ color: rgb(126, 47, 104);
/* oklch */ color: oklch(43.8% 0.130 340.0);
Tailwind
colors: {
  custom: {
    50: '#a66d93',
    500: '#7e2f68',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f68;
$custom-light: #a66d93;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f68",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 316.709,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.12956,
    "h": 340
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#7E2F68
secondary
#5DAC73
accent
#D57752
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2F68

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

Preview Lab → · Contrast checker → · Palette generator →

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