#7F243B#7F243B

#7F243B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.125 H 9.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F243B
RGBrgb(127, 36, 59)
HSLhsl(345, 56%, 32%)
HSVhsv(345, 72%, 50%)
CMYKcmyk(0%, 71.7%, 53.5%, 50.2%)
CIE-LABlab(29.64, 40.67, 8.15)
CIE-LCHlch(29.64, 41.48, 11.33°)
OKLaboklab(40.95% 0.1235 0.0209)
OKLCHoklch(40.95% 0.125 9.6)
XYZxyz(10.1736, 6.0909, 4.7768)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F243B #247F68
analogous
#7F2469 #7F243B #7F3B24
triadic
#7F243B #3B7F24 #243B7F
tetradic
#7F243B #697F24 #247F68 #3B247F
square
#7F243B #697F24 #247F68 #3B247F
split-complementary
#7F243B #247F3B #24697F
monochromatic
#20090F #4F1625 #7F243B #AF3251 #CD5070

Accessibility & contrast

On white

9.47
#7F243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F243B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F243B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F243B#FFFFFF#000000##FFFFFF
##7F243B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#514D39
Tritanopia (blue-blind)
#8B122D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f243b;
/* rgb */ color: rgb(127, 36, 59);
/* oklch */ color: oklch(40.9% 0.125 9.6);
Tailwind
colors: {
  custom: {
    50: '#a96670',
    500: '#7f243b',
    950: '#000000',
  },
}
SCSS
$custom: #7f243b;
$custom-light: #a96670;
$custom-dark: #000000;
JSON
{
  "hex": "#7f243b",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 344.835,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.12524,
    "h": 9.6
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#7F243B
secondary
#4EB198
accent
#DFB949
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F243B

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

Preview Lab → · Contrast checker → · Palette generator →

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