#7E244F#7E244F

#7E244F is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.4% C 0.131 H 355.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#7E244F
RGBrgb(126, 36, 79)
HSLhsl(331, 56%, 32%)
HSVhsv(331, 71%, 49%)
CMYKcmyk(0%, 71.4%, 37.3%, 50.6%)
CIE-LABlab(30.07, 42.46, -4.49)
CIE-LCHlch(30.07, 42.70, 353.96°)
OKLaboklab(41.43% 0.13 -0.0113)
OKLCHoklch(41.43% 0.131 355)
XYZxyz(10.6470, 6.2631, 8.0438)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E244F #247E53
analogous
#7E247C #7E244F #7E2624
triadic
#7E244F #4F7E24 #244F7E
tetradic
#7E244F #7C7E24 #247E53 #26247E
square
#7E244F #7C7E24 #247E53 #26247E
split-complementary
#7E244F #247E26 #247C7E
monochromatic
#1F0913 #4E1631 #7E244F #AE326D #CD508B

Accessibility & contrast

On white

9.32
#7E244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E244F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E244F#FFFFFF#000000##FFFFFF
##7E244F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#881C36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e244f;
/* rgb */ color: rgb(126, 36, 79);
/* oklch */ color: oklch(41.4% 0.131 355.0);
Tailwind
colors: {
  custom: {
    50: '#a76680',
    500: '#7e244f',
    950: '#000000',
  },
}
SCSS
$custom: #7e244f;
$custom-light: #a76680;
$custom-dark: #000000;
JSON
{
  "hex": "#7e244f",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 331.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.1305,
    "h": 355
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#7E244F
secondary
#4EB081
accent
#DF9749
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E244F

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

Preview Lab → · Contrast checker → · Palette generator →

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