#7E233B#7E233B

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

Color values

HEX#7E233B
RGBrgb(126, 35, 59)
HSLhsl(344, 57%, 32%)
HSVhsv(344, 72%, 49%)
CMYKcmyk(0%, 72.2%, 53.2%, 50.6%)
CIE-LABlab(29.30, 40.76, 7.65)
CIE-LCHlch(29.30, 41.47, 10.62°)
OKLaboklab(40.66% 0.1239 0.0196)
OKLCHoklch(40.66% 0.125 9)
XYZxyz(9.9955, 5.9548, 4.7599)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E233B #237E66
analogous
#7E2369 #7E233B #7E3923
triadic
#7E233B #3B7E23 #233B7E
tetradic
#7E233B #697E23 #237E66 #39237E
square
#7E233B #697E23 #237E66 #39237E
split-complementary
#7E233B #237E39 #23697E
monochromatic
#1E080E #4E1625 #7E233B #AE3051 #CE4E6F

Accessibility & contrast

On white

9.59
#7E233B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E233B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E233B#FFFFFF#000000##FFFFFF
##7E233B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39393B
Deuteranopia (green-blind)
#504C39
Tritanopia (blue-blind)
#8A112D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e233b;
/* rgb */ color: rgb(126, 35, 59);
/* oklch */ color: oklch(40.7% 0.125 9.0);
Tailwind
colors: {
  custom: {
    50: '#a86570',
    500: '#7e233b',
    950: '#000000',
  },
}
SCSS
$custom: #7e233b;
$custom-light: #a86570;
$custom-dark: #000000;
JSON
{
  "hex": "#7e233b",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 59
  },
  "hsl": {
    "h": 344.176,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40657,
    "c": 0.1254,
    "h": 9
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#7E233B
secondary
#4CB096
accent
#E0B848
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E233B

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

Preview Lab → · Contrast checker → · Palette generator →

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