#7E2B68#7E2B68

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

Color values

HEX#7E2B68
RGBrgb(126, 43, 104)
HSLhsl(316, 49%, 33%)
HSVhsv(316, 66%, 49%)
CMYKcmyk(0%, 65.9%, 17.5%, 50.6%)
CIE-LABlab(32.18, 42.94, -17.51)
CIE-LCHlch(32.18, 46.38, 337.82°)
OKLaboklab(43.31% 0.1273 -0.0472)
OKLCHoklch(43.31% 0.136 339.7)
XYZxyz(11.9670, 7.1639, 13.8465)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B68 #2B7E41
analogous
#6A2B7E #7E2B68 #7E2B3E
triadic
#7E2B68 #687E2B #2B687E
tetradic
#7E2B68 #7E6A2B #2B7E41 #2B3E7E
square
#7E2B68 #7E6A2B #2B7E41 #2B3E7E
split-complementary
#7E2B68 #3E7E2B #2B7E6A
monochromatic
#230C1D #501B42 #7E2B68 #AC3B8E #C75CAB

Accessibility & contrast

On white

8.63
#7E2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B68
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B68#FFFFFF#000000##FFFFFF
##7E2B681.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F436A
Deuteranopia (green-blind)
#495066
Tritanopia (blue-blind)
#852D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2b68;
/* rgb */ color: rgb(126, 43, 104);
/* oklch */ color: oklch(43.3% 0.136 339.7);
Tailwind
colors: {
  custom: {
    50: '#a66a93',
    500: '#7e2b68',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b68;
$custom-light: #a66a93;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b68",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 315.904,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.13575,
    "h": 339.7
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#7E2B68
secondary
#58AD6E
accent
#D9744F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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