#7D1438#7D1438

#7D1438 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.140 H 7.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7D1438
RGBrgb(125, 20, 56)
HSLhsl(339, 72%, 28%)
HSVhsv(339, 84%, 49%)
CMYKcmyk(0%, 84%, 55.2%, 51%)
CIE-LABlab(27.15, 45.42, 6.62)
CIE-LCHlch(27.15, 45.89, 8.29°)
OKLaboklab(39.01% 0.1386 0.017)
OKLCHoklch(39.01% 0.14 7)
XYZxyz(9.4223, 5.1472, 4.2380)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1438 #147D59
analogous
#7D146C #7D1438 #7D2514
triadic
#7D1438 #387D14 #14387D
tetradic
#7D1438 #6C7D14 #147D59 #25147D
square
#7D1438 #6C7D14 #147D59 #25147D
split-complementary
#7D1438 #147D25 #146C7D
monochromatic
#1A040C #480C20 #7D1438 #B21C50 #DE2E6A

Accessibility & contrast

On white

10.35
#7D1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1438
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1438#FFFFFF#000000##FFFFFF
##7D14381.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#890024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1438;
/* rgb */ color: rgb(125, 20, 56);
/* oklch */ color: oklch(39.0% 0.140 7.0);
Tailwind
colors: {
  custom: {
    50: '#a85f6e',
    500: '#7d1438',
    950: '#000000',
  },
}
SCSS
$custom: #7d1438;
$custom-light: #a85f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1438",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 339.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.13961,
    "h": 7
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#7D1438
secondary
#3AB289
accent
#EFB139
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1438

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

Preview Lab → · Contrast checker → · Palette generator →

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