#7E236A#7E236A

#7E236A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 338.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E236A
RGBrgb(126, 35, 106)
HSLhsl(313, 57%, 32%)
HSVhsv(313, 72%, 49%)
CMYKcmyk(0%, 72.2%, 15.9%, 50.6%)
CIE-LABlab(31.07, 46.61, -20.51)
CIE-LCHlch(31.07, 50.93, 336.25°)
OKLaboklab(42.53% 0.1377 -0.0556)
OKLCHoklch(42.53% 0.149 338)
XYZxyz(11.8070, 6.6794, 14.3003)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E236A #237E37
analogous
#65237E #7E236A #7E233D
triadic
#7E236A #6A7E23 #236A7E
tetradic
#7E236A #7E6523 #237E37 #233D7E
square
#7E236A #7E6523 #237E37 #233D7E
split-complementary
#7E236A #3D7E23 #237E65
monochromatic
#1E0819 #4E1642 #7E236A #AE3092 #CE4EB2

Accessibility & contrast

On white

8.99
#7E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E236A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E236A#FFFFFF#000000##FFFFFF
##7E236A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406C
Deuteranopia (green-blind)
#444E68
Tritanopia (blue-blind)
#852743
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e236a;
/* rgb */ color: rgb(126, 35, 106);
/* oklch */ color: oklch(42.5% 0.149 338.0);
Tailwind
colors: {
  custom: {
    50: '#a66795',
    500: '#7e236a',
    950: '#000000',
  },
}
SCSS
$custom: #7e236a;
$custom-light: #a66795;
$custom-dark: #000000;
JSON
{
  "hex": "#7e236a",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 313.187,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.14851,
    "h": 338
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#7E236A
secondary
#4CB062
accent
#E06948
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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