#7E2F61#7E2F61

#7E2F61 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.125 H 344.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7E2F61
RGBrgb(126, 47, 97)
HSLhsl(322, 46%, 34%)
HSVhsv(322, 63%, 49%)
CMYKcmyk(0%, 62.7%, 23%, 50.6%)
CIE-LABlab(32.55, 40.00, -12.45)
CIE-LCHlch(32.55, 41.89, 342.71°)
OKLaboklab(43.49% 0.1201 -0.0331)
OKLCHoklch(43.49% 0.125 344.6)
XYZxyz(11.7787, 7.3328, 12.1020)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F61 #2F7E4C
analogous
#742F7E #7E2F61 #7E2F3A
triadic
#7E2F61 #617E2F #2F617E
tetradic
#7E2F61 #7E742F #2F7E4C #2F3A7E
square
#7E2F61 #7E742F #2F7E4C #2F3A7E
split-complementary
#7E2F61 #3A7E2F #2F7E74
monochromatic
#250E1C #511E3F #7E2F61 #AB4083 #C563A1

Accessibility & contrast

On white

8.51
#7E2F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E2F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F61
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F61#FFFFFF#000000##FFFFFF
##7E2F611.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364463
Deuteranopia (green-blind)
#4D515F
Tritanopia (blue-blind)
#862E44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2f61;
/* rgb */ color: rgb(126, 47, 97);
/* oklch */ color: oklch(43.5% 0.125 344.6);
Tailwind
colors: {
  custom: {
    50: '#a66c8e',
    500: '#7e2f61',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f61;
$custom-light: #a66c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f61",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 322.025,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43488,
    "c": 0.12453,
    "h": 344.6
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#7E2F61
secondary
#5DAC7A
accent
#D58352
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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