#462840#462840

#462840 is a dark, muted pink. Relative luminance 0.032; OKLCH L 32.4% C 0.058 H 334.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#462840
RGBrgb(70, 40, 64)
HSLhsl(312, 27%, 22%)
HSVhsv(312, 43%, 27%)
CMYKcmyk(0%, 42.9%, 8.6%, 72.5%)
CIE-LABlab(20.79, 18.33, -9.33)
CIE-LCHlch(20.79, 20.57, 333.02°)
OKLaboklab(32.45% 0.0526 -0.0251)
OKLCHoklch(32.45% 0.058 334.5)
XYZxyz(4.2100, 3.1901, 5.2435)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462840 #28462E
analogous
#3D2846 #462840 #462831
triadic
#462840 #404628 #284046
tetradic
#462840 #463D28 #28462E #283146
square
#462840 #463D28 #28462E #283146
split-complementary
#462840 #314628 #28463D
monochromatic
#130B12 #1F121C #462840 #6D3E64 #945587

Accessibility & contrast

On white

12.82
#462840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#462840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462840
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462840#FFFFFF#000000##FFFFFF
##4628401.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#492931
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #462840;
/* rgb */ color: rgb(70, 40, 64);
/* oklch */ color: oklch(32.4% 0.058 334.5);
Tailwind
colors: {
  custom: {
    50: '#7a6274',
    500: '#462840',
    950: '#000000',
  },
}
SCSS
$custom: #462840;
$custom-light: #7a6274;
$custom-dark: #000000;
JSON
{
  "hex": "#462840",
  "rgb": {
    "r": 70,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 312,
    "s": 27.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32447,
    "c": 0.05827,
    "h": 334.5
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#462840
secondary
#527859
accent
#C47764
background
#F7F5F7
surface
#EDEAED
border
#C8C6C8
text
#090508
muted
#7B797B

Preview Lab

Preview with #462840

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

Preview Lab → · Contrast checker → · Palette generator →

#462840 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva