#7D1238#7D1238

#7D1238 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 6.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7D1238
RGBrgb(125, 18, 56)
HSLhsl(339, 75%, 28%)
HSVhsv(339, 86%, 49%)
CMYKcmyk(0%, 85.6%, 55.2%, 51%)
CIE-LABlab(26.96, 45.96, 6.35)
CIE-LCHlch(26.96, 46.39, 7.87°)
OKLaboklab(38.87% 0.1403 0.0164)
OKLCHoklch(38.87% 0.141 6.7)
XYZxyz(9.3885, 5.0795, 4.2267)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1238 #127D57
analogous
#7D126D #7D1238 #7D2212
triadic
#7D1238 #387D12 #12387D
tetradic
#7D1238 #6D7D12 #127D57 #22127D
square
#7D1238 #6D7D12 #127D57 #22127D
split-complementary
#7D1238 #127D22 #126D7D
monochromatic
#1B040C #480A20 #7D1238 #B21A50 #E0296A

Accessibility & contrast

On white

10.42
#7D1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D1238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1238
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1238#FFFFFF#000000##FFFFFF
##7D12381.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1238;
/* rgb */ color: rgb(125, 18, 56);
/* oklch */ color: oklch(38.9% 0.141 6.7);
Tailwind
colors: {
  custom: {
    50: '#a85e6e',
    500: '#7d1238',
    950: '#000000',
  },
}
SCSS
$custom: #7d1238;
$custom-light: #a85e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1238",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 338.692,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38868,
    "c": 0.14128,
    "h": 6.7
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#7D1238
secondary
#38B387
accent
#F1AF36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1238

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

Preview Lab → · Contrast checker → · Palette generator →

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