#7E233E#7E233E

#7E233E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.126 H 6.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7E233E
RGBrgb(126, 35, 62)
HSLhsl(342, 57%, 32%)
HSVhsv(342, 72%, 49%)
CMYKcmyk(0%, 72.2%, 50.8%, 50.6%)
CIE-LABlab(29.38, 41.04, 5.76)
CIE-LCHlch(29.38, 41.44, 8.00°)
OKLaboklab(40.74% 0.1251 0.015)
OKLCHoklch(40.74% 0.126 6.9)
XYZxyz(10.0756, 5.9868, 5.1815)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E233E #237E63
analogous
#7E236C #7E233E #7E3623
triadic
#7E233E #3E7E23 #233E7E
tetradic
#7E233E #6C7E23 #237E63 #36237E
square
#7E233E #6C7E23 #237E63 #36237E
split-complementary
#7E233E #237E36 #236C7E
monochromatic
#1E080F #4E1626 #7E233E #AE3056 #CE4E74

Accessibility & contrast

On white

9.56
#7E233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E233E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E233E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E233E#FFFFFF#000000##FFFFFF
##7E233E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A3F
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#89132E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e233e;
/* rgb */ color: rgb(126, 35, 62);
/* oklch */ color: oklch(40.7% 0.126 6.9);
Tailwind
colors: {
  custom: {
    50: '#a86573',
    500: '#7e233e',
    950: '#000000',
  },
}
SCSS
$custom: #7e233e;
$custom-light: #a86573;
$custom-dark: #000000;
JSON
{
  "hex": "#7e233e",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 342.198,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.12597,
    "h": 6.9
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#7E233E
secondary
#4CB093
accent
#E0B348
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E233E

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

Preview Lab → · Contrast checker → · Palette generator →

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