#7D1838#7D1838

#7D1838 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 7.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7D1838
RGBrgb(125, 24, 56)
HSLhsl(341, 68%, 29%)
HSVhsv(341, 81%, 49%)
CMYKcmyk(0%, 80.8%, 55.2%, 51%)
CIE-LABlab(27.57, 44.22, 7.21)
CIE-LCHlch(27.57, 44.80, 9.26°)
OKLaboklab(39.32% 0.1347 0.0185)
OKLCHoklch(39.32% 0.136 7.8)
XYZxyz(9.4988, 5.3001, 4.2635)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1838 #187D5D
analogous
#7D186B #7D1838 #7D2B18
triadic
#7D1838 #387D18 #18387D
tetradic
#7D1838 #6B7D18 #187D5D #2B187D
square
#7D1838 #6B7D18 #187D5D #2B187D
split-complementary
#7D1838 #187D2B #186B7D
monochromatic
#1A050C #4A0E21 #7D1838 #B0224F #D9376A

Accessibility & contrast

On white

10.20
#7D1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1838
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1838#FFFFFF#000000##FFFFFF
##7D18381.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#890026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1838;
/* rgb */ color: rgb(125, 24, 56);
/* oklch */ color: oklch(39.3% 0.136 7.8);
Tailwind
colors: {
  custom: {
    50: '#a8606e',
    500: '#7d1838',
    950: '#000000',
  },
}
SCSS
$custom: #7d1838;
$custom-light: #a8606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1838",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 340.99,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.13595,
    "h": 7.8
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#7D1838
secondary
#3FB28D
accent
#EBB43D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7D1838

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

Preview Lab → · Contrast checker → · Palette generator →

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