#7E2F67#7E2F67

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

Color values

HEX#7E2F67
RGBrgb(126, 47, 103)
HSLhsl(317, 46%, 34%)
HSVhsv(317, 63%, 49%)
CMYKcmyk(0%, 62.7%, 18.3%, 50.6%)
CIE-LABlab(32.81, 40.93, -15.90)
CIE-LCHlch(32.81, 43.91, 338.77°)
OKLaboklab(43.76% 0.1215 -0.0427)
OKLCHoklch(43.76% 0.129 340.6)
XYZxyz(12.0691, 7.4490, 13.6315)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F67 #2F7E46
analogous
#6E2F7E #7E2F67 #7E2F40
triadic
#7E2F67 #677E2F #2F677E
tetradic
#7E2F67 #7E6E2F #2F7E46 #2F407E
square
#7E2F67 #7E6E2F #2F7E46 #2F407E
split-complementary
#7E2F67 #407E2F #2F7E6E
monochromatic
#250E1E #511E43 #7E2F67 #AB408B #C563A8

Accessibility & contrast

On white

8.44
#7E2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F67
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F67#FFFFFF#000000##FFFFFF
##7E2F671.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344569
Deuteranopia (green-blind)
#4B5265
Tritanopia (blue-blind)
#853046
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2f67;
/* rgb */ color: rgb(126, 47, 103);
/* oklch */ color: oklch(43.8% 0.129 340.6);
Tailwind
colors: {
  custom: {
    50: '#a66d92',
    500: '#7e2f67',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f67;
$custom-light: #a66d92;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f67",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 317.468,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4376,
    "c": 0.12881,
    "h": 340.6
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#7E2F67
secondary
#5DAC74
accent
#D57952
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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