#7E235E#7E235E

#7E235E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.140 H 345.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E235E
RGBrgb(126, 35, 94)
HSLhsl(321, 57%, 32%)
HSVhsv(321, 72%, 49%)
CMYKcmyk(0%, 72.2%, 25.4%, 50.6%)
CIE-LABlab(30.51, 44.83, -13.63)
CIE-LCHlch(30.51, 46.86, 343.09°)
OKLaboklab(41.95% 0.1354 -0.0362)
OKLCHoklch(41.95% 0.14 345)
XYZxyz(11.2260, 6.4470, 11.2407)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E235E #237E43
analogous
#71237E #7E235E #7E2331
triadic
#7E235E #5E7E23 #235E7E
tetradic
#7E235E #7E7123 #237E43 #23317E
square
#7E235E #7E7123 #237E43 #23317E
split-complementary
#7E235E #317E23 #237E71
monochromatic
#1E0817 #4E163A #7E235E #AE3082 #CE4EA1

Accessibility & contrast

On white

9.17
#7E235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E235E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E235E#FFFFFF#000000##FFFFFF
##7E235E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#87223D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e235e;
/* rgb */ color: rgb(126, 35, 94);
/* oklch */ color: oklch(41.9% 0.140 345.0);
Tailwind
colors: {
  custom: {
    50: '#a7668b',
    500: '#7e235e',
    950: '#000000',
  },
}
SCSS
$custom: #7e235e;
$custom-light: #a7668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e235e",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 321.099,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41949,
    "c": 0.1402,
    "h": 345
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#7E235E
secondary
#4CB070
accent
#E07D48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E235E

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

Preview Lab → · Contrast checker → · Palette generator →

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