#7F1838#7F1838

#7F1838 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.138 H 8.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7F1838
RGBrgb(127, 24, 56)
HSLhsl(341, 68%, 30%)
HSVhsv(341, 81%, 50%)
CMYKcmyk(0%, 81.1%, 55.9%, 50.2%)
CIE-LABlab(27.99, 44.81, 7.85)
CIE-LCHlch(27.99, 45.50, 9.94°)
OKLaboklab(39.7% 0.1364 0.02)
OKLCHoklch(39.7% 0.138 8.4)
XYZxyz(9.7938, 5.4522, 4.2773)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1838 #187F5F
analogous
#7F186C #7F1838 #7F2B18
triadic
#7F1838 #387F18 #18387F
tetradic
#7F1838 #6C7F18 #187F5F #2B187F
square
#7F1838 #6C7F18 #187F5F #2B187F
split-complementary
#7F1838 #187F2B #186C7F
monochromatic
#1A050B #4C0E21 #7F1838 #B2224F #D9386A

Accessibility & contrast

On white

10.05
#7F1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1838
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1838#FFFFFF#000000##FFFFFF
##7F18381.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1838;
/* rgb */ color: rgb(127, 24, 56);
/* oklch */ color: oklch(39.7% 0.138 8.4);
Tailwind
colors: {
  custom: {
    50: '#aa606e',
    500: '#7f1838',
    950: '#000000',
  },
}
SCSS
$custom: #7f1838;
$custom-light: #aa606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1838",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 341.359,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39698,
    "c": 0.13785,
    "h": 8.4
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#7F1838
secondary
#3FB38F
accent
#EBB53D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F1838

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

Preview Lab → · Contrast checker → · Palette generator →

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