#7F2A45#7F2A45

#7F2A45 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.119 H 4.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7F2A45
RGBrgb(127, 42, 69)
HSLhsl(341, 50%, 33%)
HSVhsv(341, 67%, 50%)
CMYKcmyk(0%, 66.9%, 45.7%, 50.2%)
CIE-LABlab(30.88, 39.04, 3.29)
CIE-LCHlch(30.88, 39.18, 4.82°)
OKLaboklab(41.96% 0.1192 0.0089)
OKLCHoklch(41.96% 0.119 4.3)
XYZxyz(10.6553, 6.5989, 6.3417)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A45 #2A7F64
analogous
#7F2A6F #7F2A45 #7F392A
triadic
#7F2A45 #457F2A #2A457F
tetradic
#7F2A45 #6F7F2A #2A7F64 #392A7F
square
#7F2A45 #6F7F2A #2A7F64 #392A7F
split-complementary
#7F2A45 #2A7F39 #2A6F7F
monochromatic
#230C13 #511B2C #7F2A45 #AD395E #C95B7E

Accessibility & contrast

On white

9.05
#7F2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7F2A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A45
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A45#FFFFFF#000000##FFFFFF
##7F2A451.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E46
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#8A1F35
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2a45;
/* rgb */ color: rgb(127, 42, 69);
/* oklch */ color: oklch(42.0% 0.119 4.3);
Tailwind
colors: {
  custom: {
    50: '#a86978',
    500: '#7f2a45',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a45;
$custom-light: #a86978;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a45",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 340.941,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.11949,
    "h": 4.3
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7F2A45
secondary
#57AE92
accent
#DAAD4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7F2A45

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

Preview Lab → · Contrast checker → · Palette generator →

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