#7E234E#7E234E

#7E234E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.131 H 355.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E234E
RGBrgb(126, 35, 78)
HSLhsl(332, 57%, 32%)
HSVhsv(332, 72%, 49%)
CMYKcmyk(0%, 72.2%, 38.1%, 50.6%)
CIE-LABlab(29.88, 42.75, -4.11)
CIE-LCHlch(29.88, 42.95, 354.51°)
OKLaboklab(41.28% 0.131 -0.0103)
OKLCHoklch(41.28% 0.131 355.5)
XYZxyz(10.5810, 6.1890, 7.8436)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E234E #237E53
analogous
#7E237C #7E234E #7E2523
triadic
#7E234E #4E7E23 #234E7E
tetradic
#7E234E #7C7E23 #237E53 #25237E
square
#7E234E #7C7E23 #237E53 #25237E
split-complementary
#7E234E #237E25 #237C7E
monochromatic
#1E0813 #4E1630 #7E234E #AE306C #CE4E8A

Accessibility & contrast

On white

9.39
#7E234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E234E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E234E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E234E#FFFFFF#000000##FFFFFF
##7E234E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#881A35
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e234e;
/* rgb */ color: rgb(126, 35, 78);
/* oklch */ color: oklch(41.3% 0.131 355.5);
Tailwind
colors: {
  custom: {
    50: '#a7667f',
    500: '#7e234e',
    950: '#000000',
  },
}
SCSS
$custom: #7e234e;
$custom-light: #a7667f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e234e",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 331.648,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41282,
    "c": 0.13137,
    "h": 355.5
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#7E234E
secondary
#4CB081
accent
#E09848
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E234E

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

Preview Lab → · Contrast checker → · Palette generator →

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