#7E233C#7E233C

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

Color values

HEX#7E233C
RGBrgb(126, 35, 60)
HSLhsl(344, 57%, 32%)
HSVhsv(344, 72%, 49%)
CMYKcmyk(0%, 72.2%, 52.4%, 50.6%)
CIE-LABlab(29.32, 40.85, 7.02)
CIE-LCHlch(29.32, 41.45, 9.75°)
OKLaboklab(40.69% 0.1243 0.0181)
OKLCHoklch(40.69% 0.126 8.3)
XYZxyz(10.0217, 5.9653, 4.8978)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E233C #237E65
analogous
#7E236A #7E233C #7E3723
triadic
#7E233C #3C7E23 #233C7E
tetradic
#7E233C #6A7E23 #237E65 #37237E
square
#7E233C #6A7E23 #237E65 #37237E
split-complementary
#7E233C #237E37 #236A7E
monochromatic
#1E080E #4E1625 #7E233C #AE3053 #CE4E71

Accessibility & contrast

On white

9.58
#7E233C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E233C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E233C#FFFFFF#000000##FFFFFF
##7E233C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393C
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#8A122D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e233c;
/* rgb */ color: rgb(126, 35, 60);
/* oklch */ color: oklch(40.7% 0.126 8.3);
Tailwind
colors: {
  custom: {
    50: '#a86571',
    500: '#7e233c',
    950: '#000000',
  },
}
SCSS
$custom: #7e233c;
$custom-light: #a86571;
$custom-dark: #000000;
JSON
{
  "hex": "#7e233c",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 60
  },
  "hsl": {
    "h": 343.516,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.12557,
    "h": 8.3
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#7E233C
secondary
#4CB095
accent
#E0B648
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E233C

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

Preview Lab → · Contrast checker → · Palette generator →

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