#7D123F#7D123F

#7D123F is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.143 H 2.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7D123F
RGBrgb(125, 18, 63)
HSLhsl(335, 75%, 28%)
HSVhsv(335, 86%, 49%)
CMYKcmyk(0%, 85.6%, 49.6%, 51%)
CIE-LABlab(27.17, 46.57, 1.90)
CIE-LCHlch(27.17, 46.60, 2.33°)
OKLaboklab(39.09% 0.143 0.0054)
OKLCHoklch(39.09% 0.143 2.1)
XYZxyz(9.5718, 5.1528, 5.1922)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D123F #127D50
analogous
#7D1274 #7D123F #7D1A12
triadic
#7D123F #3F7D12 #123F7D
tetradic
#7D123F #747D12 #127D50 #1A127D
square
#7D123F #747D12 #127D50 #1A127D
split-complementary
#7D123F #127D1A #12747D
monochromatic
#1B040D #480A24 #7D123F #B21A5A #E02976

Accessibility & contrast

On white

10.34
#7D123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D123F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D123F#FFFFFF#000000##FFFFFF
##7D123F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3340
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#880027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d123f;
/* rgb */ color: rgb(125, 18, 63);
/* oklch */ color: oklch(39.1% 0.143 2.1);
Tailwind
colors: {
  custom: {
    50: '#a85e73',
    500: '#7d123f',
    950: '#000000',
  },
}
SCSS
$custom: #7d123f;
$custom-light: #a85e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7d123f",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 334.766,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.14312,
    "h": 2.1
  },
  "luminance": 0.05151
}

Semantic roles & 50–950 ramp

primary
#7D123F
secondary
#38B37F
accent
#F1A336
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7D123F

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

Preview Lab → · Contrast checker → · Palette generator →

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