#7E235C#7E235C

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

Color values

HEX#7E235C
RGBrgb(126, 35, 92)
HSLhsl(322, 57%, 32%)
HSVhsv(322, 72%, 49%)
CMYKcmyk(0%, 72.2%, 27%, 50.6%)
CIE-LABlab(30.43, 44.55, -12.46)
CIE-LCHlch(30.43, 46.26, 344.38°)
OKLaboklab(41.86% 0.135 -0.033)
OKLCHoklch(41.86% 0.139 346.3)
XYZxyz(11.1375, 6.4116, 10.7742)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E235C #237E45
analogous
#73237E #7E235C #7E232E
triadic
#7E235C #5C7E23 #235C7E
tetradic
#7E235C #7E7323 #237E45 #232E7E
square
#7E235C #7E7323 #237E45 #232E7E
split-complementary
#7E235C #2E7E23 #237E73
monochromatic
#1E0816 #4E1639 #7E235C #AE307F #CE4E9E

Accessibility & contrast

On white

9.20
#7E235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E235C
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E235C#FFFFFF#000000##FFFFFF
##7E235C1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E5E
Deuteranopia (green-blind)
#494D5A
Tritanopia (blue-blind)
#87213C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e235c;
/* rgb */ color: rgb(126, 35, 92);
/* oklch */ color: oklch(41.9% 0.139 346.3);
Tailwind
colors: {
  custom: {
    50: '#a7668a',
    500: '#7e235c',
    950: '#000000',
  },
}
SCSS
$custom: #7e235c;
$custom-light: #a7668a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e235c",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 322.418,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41859,
    "c": 0.13894,
    "h": 346.3
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#7E235C
secondary
#4CB072
accent
#E08148
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E235C

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

Preview Lab → · Contrast checker → · Palette generator →

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