#7E233A#7E233A

#7E233A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.125 H 9.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7E233A
RGBrgb(126, 35, 58)
HSLhsl(345, 57%, 32%)
HSVhsv(345, 72%, 49%)
CMYKcmyk(0%, 72.2%, 54%, 50.6%)
CIE-LABlab(29.27, 40.67, 8.27)
CIE-LCHlch(29.27, 41.50, 11.50°)
OKLaboklab(40.63% 0.1234 0.0211)
OKLCHoklch(40.63% 0.125 9.7)
XYZxyz(9.9698, 5.9445, 4.6246)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E233A #237E67
analogous
#7E2368 #7E233A #7E3A23
triadic
#7E233A #3A7E23 #233A7E
tetradic
#7E233A #687E23 #237E67 #3A237E
square
#7E233A #687E23 #237E67 #3A237E
split-complementary
#7E233A #237E3A #23687E
monochromatic
#1E080E #4E1624 #7E233A #AE3050 #CE4E6E

Accessibility & contrast

On white

9.60
#7E233A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E233A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E233A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E233A#FFFFFF#000000##FFFFFF
##7E233A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393A
Deuteranopia (green-blind)
#514C38
Tritanopia (blue-blind)
#8A112C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e233a;
/* rgb */ color: rgb(126, 35, 58);
/* oklch */ color: oklch(40.6% 0.125 9.7);
Tailwind
colors: {
  custom: {
    50: '#a8656f',
    500: '#7e233a',
    950: '#000000',
  },
}
SCSS
$custom: #7e233a;
$custom-light: #a8656f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e233a",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 58
  },
  "hsl": {
    "h": 344.835,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40629,
    "c": 0.12524,
    "h": 9.7
  },
  "luminance": 0.05943
}

Semantic roles & 50–950 ramp

primary
#7E233A
secondary
#4CB097
accent
#E0B948
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E233A

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

Preview Lab → · Contrast checker → · Palette generator →

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