#7D1638#7D1638

#7D1638 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 7.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7D1638
RGBrgb(125, 22, 56)
HSLhsl(340, 70%, 29%)
HSVhsv(340, 82%, 49%)
CMYKcmyk(0%, 82.4%, 55.2%, 51%)
CIE-LABlab(27.35, 44.83, 6.90)
CIE-LCHlch(27.35, 45.36, 8.76°)
OKLaboklab(39.16% 0.1367 0.0177)
OKLCHoklch(39.16% 0.138 7.4)
XYZxyz(9.4591, 5.2207, 4.2502)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1638 #167D5B
analogous
#7D166C #7D1638 #7D2816
triadic
#7D1638 #387D16 #16387D
tetradic
#7D1638 #6C7D16 #167D5B #28167D
square
#7D1638 #6C7D16 #167D5B #28167D
split-complementary
#7D1638 #167D28 #166C7D
monochromatic
#1A050C #490D21 #7D1638 #B11F4F #DB326A

Accessibility & contrast

On white

10.27
#7D1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1638
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1638#FFFFFF#000000##FFFFFF
##7D16381.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323339
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#890025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1638;
/* rgb */ color: rgb(125, 22, 56);
/* oklch */ color: oklch(39.2% 0.138 7.4);
Tailwind
colors: {
  custom: {
    50: '#a85f6e',
    500: '#7d1638',
    950: '#000000',
  },
}
SCSS
$custom: #7d1638;
$custom-light: #a85f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1638",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 340.194,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.13785,
    "h": 7.4
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#7D1638
secondary
#3DB28B
accent
#EDB23B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1638

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

Preview Lab → · Contrast checker → · Palette generator →

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