#7E243B#7E243B

#7E243B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.124 H 9.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E243B
RGBrgb(126, 36, 59)
HSLhsl(345, 56%, 32%)
HSVhsv(345, 71%, 49%)
CMYKcmyk(0%, 71.4%, 53.2%, 50.6%)
CIE-LABlab(29.45, 40.34, 7.86)
CIE-LCHlch(29.45, 41.10, 11.02°)
OKLaboklab(40.77% 0.1225 0.0201)
OKLCHoklch(40.77% 0.124 9.3)
XYZxyz(10.0253, 6.0145, 4.7698)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E243B #247E67
analogous
#7E2468 #7E243B #7E3A24
triadic
#7E243B #3B7E24 #243B7E
tetradic
#7E243B #687E24 #247E67 #3A247E
square
#7E243B #687E24 #247E67 #3A247E
split-complementary
#7E243B #247E3A #24687E
monochromatic
#1F090E #4E1625 #7E243B #AE3251 #CD5070

Accessibility & contrast

On white

9.53
#7E243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E243B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E243B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E243B#FFFFFF#000000##FFFFFF
##7E243B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393A3B
Deuteranopia (green-blind)
#514C39
Tritanopia (blue-blind)
#8A132D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e243b;
/* rgb */ color: rgb(126, 36, 59);
/* oklch */ color: oklch(40.8% 0.124 9.3);
Tailwind
colors: {
  custom: {
    50: '#a86670',
    500: '#7e243b',
    950: '#000000',
  },
}
SCSS
$custom: #7e243b;
$custom-light: #a86670;
$custom-dark: #000000;
JSON
{
  "hex": "#7e243b",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 344.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.12416,
    "h": 9.3
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#7E243B
secondary
#4EB097
accent
#DFB949
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E243B

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

Preview Lab → · Contrast checker → · Palette generator →

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