#7E1C35#7E1C35

#7E1C35 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.132 H 11.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7E1C35
RGBrgb(126, 28, 53)
HSLhsl(345, 64%, 30%)
HSVhsv(345, 78%, 49%)
CMYKcmyk(0%, 77.8%, 57.9%, 50.6%)
CIE-LABlab(28.18, 42.93, 10.10)
CIE-LCHlch(28.18, 44.10, 13.24°)
OKLaboklab(39.78% 0.13 0.0254)
OKLCHoklch(39.78% 0.132 11.1)
XYZxyz(9.6630, 5.5245, 3.9250)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C35 #1C7E65
analogous
#7E1C66 #7E1C35 #7E341C
triadic
#7E1C35 #357E1C #1C357E
tetradic
#7E1C35 #667E1C #1C7E65 #341C7E
square
#7E1C35 #667E1C #1C7E65 #341C7E
split-complementary
#7E1C35 #1C7E34 #1C667E
monochromatic
#1A060B #4C1120 #7E1C35 #B0274A #D54066

Accessibility & contrast

On white

9.98
#7E1C35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1C35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1C35
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C35#FFFFFF#000000##FFFFFF
##7E1C351.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363635
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1c35;
/* rgb */ color: rgb(126, 28, 53);
/* oklch */ color: oklch(39.8% 0.132 11.1);
Tailwind
colors: {
  custom: {
    50: '#a9626b',
    500: '#7e1c35',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c35;
$custom-light: #a9626b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c35",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 53
  },
  "hsl": {
    "h": 344.694,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.13244,
    "h": 11.1
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7E1C35
secondary
#44B296
accent
#E7BC41
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1C35

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

Preview Lab → · Contrast checker → · Palette generator →

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