#7E234D#7E234D

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

Color values

HEX#7E234D
RGBrgb(126, 35, 77)
HSLhsl(332, 57%, 32%)
HSVhsv(332, 72%, 49%)
CMYKcmyk(0%, 72.2%, 38.9%, 50.6%)
CIE-LABlab(29.85, 42.63, -3.50)
CIE-LCHlch(29.85, 42.78, 355.31°)
OKLaboklab(41.25% 0.1306 -0.0087)
OKLCHoklch(41.25% 0.131 356.2)
XYZxyz(10.5454, 6.1748, 7.6563)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E234D #237E54
analogous
#7E237B #7E234D #7E2723
triadic
#7E234D #4D7E23 #234D7E
tetradic
#7E234D #7B7E23 #237E54 #27237E
square
#7E234D #7B7E23 #237E54 #27237E
split-complementary
#7E234D #237E27 #237B7E
monochromatic
#1E0812 #4E1630 #7E234D #AE306A #CE4E89

Accessibility & contrast

On white

9.40
#7E234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E234D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E234D#FFFFFF#000000##FFFFFF
##7E234D1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e234d;
/* rgb */ color: rgb(126, 35, 77);
/* oklch */ color: oklch(41.2% 0.131 356.2);
Tailwind
colors: {
  custom: {
    50: '#a7667e',
    500: '#7e234d',
    950: '#000000',
  },
}
SCSS
$custom: #7e234d;
$custom-light: #a7667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e234d",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 332.308,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.13093,
    "h": 356.2
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#7E234D
secondary
#4CB082
accent
#E09A48
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E234D

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

Preview Lab → · Contrast checker → · Palette generator →

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