#7C123F#7C123F

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

Color values

HEX#7C123F
RGBrgb(124, 18, 63)
HSLhsl(335, 75%, 28%)
HSVhsv(335, 85%, 49%)
CMYKcmyk(0%, 85.5%, 49.2%, 51.4%)
CIE-LABlab(26.96, 46.29, 1.57)
CIE-LCHlch(26.96, 46.31, 1.94°)
OKLaboklab(38.9% 0.1422 0.0045)
OKLCHoklch(38.9% 0.142 1.8)
XYZxyz(9.4265, 5.0779, 5.1854)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C123F #127C4F
analogous
#7C1274 #7C123F #7C1A12
triadic
#7C123F #3F7C12 #123F7C
tetradic
#7C123F #747C12 #127C4F #1A127C
square
#7C123F #747C12 #127C4F #1A127C
split-complementary
#7C123F #127C1A #12747C
monochromatic
#1B040E #470A24 #7C123F #B11A5A #E02976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C123F#FFFFFF#000000##FFFFFF
##7C123F1.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)
#2E3340
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#870027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c123f;
/* rgb */ color: rgb(124, 18, 63);
/* oklch */ color: oklch(38.9% 0.142 1.8);
Tailwind
colors: {
  custom: {
    50: '#a75e73',
    500: '#7c123f',
    950: '#000000',
  },
}
SCSS
$custom: #7c123f;
$custom-light: #a75e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7c123f",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 334.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38895,
    "c": 0.14228,
    "h": 1.8
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#7C123F
secondary
#38B27E
accent
#F1A237
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C123F

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

Preview Lab → · Contrast checker → · Palette generator →

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