#7F243F#7F243F

#7F243F is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.126 H 6.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7F243F
RGBrgb(127, 36, 63)
HSLhsl(342, 56%, 32%)
HSVhsv(342, 72%, 50%)
CMYKcmyk(0%, 71.7%, 50.4%, 50.2%)
CIE-LABlab(29.75, 41.05, 5.65)
CIE-LCHlch(29.75, 41.43, 7.84°)
OKLaboklab(41.06% 0.1251 0.0148)
OKLCHoklch(41.06% 0.126 6.7)
XYZxyz(10.2813, 6.1340, 5.3442)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F243F #247F64
analogous
#7F246D #7F243F #7F3724
triadic
#7F243F #3F7F24 #243F7F
tetradic
#7F243F #6D7F24 #247F64 #37247F
square
#7F243F #6D7F24 #247F64 #37247F
split-complementary
#7F243F #247F37 #246D7F
monochromatic
#200910 #4F1627 #7F243F #AF3257 #CD5075

Accessibility & contrast

On white

9.43
#7F243F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F243F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F243F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F243F#FFFFFF#000000##FFFFFF
##7F243F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B40
Deuteranopia (green-blind)
#514D3D
Tritanopia (blue-blind)
#8B142F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f243f;
/* rgb */ color: rgb(127, 36, 63);
/* oklch */ color: oklch(41.1% 0.126 6.7);
Tailwind
colors: {
  custom: {
    50: '#a96673',
    500: '#7f243f',
    950: '#000000',
  },
}
SCSS
$custom: #7f243f;
$custom-light: #a96673;
$custom-dark: #000000;
JSON
{
  "hex": "#7f243f",
  "rgb": {
    "r": 127,
    "g": 36,
    "b": 63
  },
  "hsl": {
    "h": 342.198,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.12598,
    "h": 6.7
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#7F243F
secondary
#4EB194
accent
#DFB249
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7F243F

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

Preview Lab → · Contrast checker → · Palette generator →

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