#7E243F#7E243F

#7E243F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.125 H 6.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7E243F
RGBrgb(126, 36, 63)
HSLhsl(342, 56%, 32%)
HSVhsv(342, 71%, 49%)
CMYKcmyk(0%, 71.4%, 50%, 50.6%)
CIE-LABlab(29.56, 40.72, 5.35)
CIE-LCHlch(29.56, 41.07, 7.49°)
OKLaboklab(40.89% 0.1242 0.014)
OKLCHoklch(40.89% 0.125 6.4)
XYZxyz(10.1331, 6.0576, 5.3373)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E243F #247E63
analogous
#7E246C #7E243F #7E3624
triadic
#7E243F #3F7E24 #243F7E
tetradic
#7E243F #6C7E24 #247E63 #36247E
square
#7E243F #6C7E24 #247E63 #36247E
split-complementary
#7E243F #247E36 #246C7E
monochromatic
#1F090F #4E1627 #7E243F #AE3257 #CD5075

Accessibility & contrast

On white

9.50
#7E243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E243F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E243F#FFFFFF#000000##FFFFFF
##7E243F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383A40
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#89152F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e243f;
/* rgb */ color: rgb(126, 36, 63);
/* oklch */ color: oklch(40.9% 0.125 6.4);
Tailwind
colors: {
  custom: {
    50: '#a86673',
    500: '#7e243f',
    950: '#000000',
  },
}
SCSS
$custom: #7e243f;
$custom-light: #a86673;
$custom-dark: #000000;
JSON
{
  "hex": "#7e243f",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 342,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.12494,
    "h": 6.4
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#7E243F
secondary
#4EB093
accent
#DFB249
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E243F

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

Preview Lab → · Contrast checker → · Palette generator →

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