#340525#340525

#340525 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.084 H 344.0°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#340525
RGBrgb(52, 5, 37)
HSLhsl(319, 82%, 11%)
HSVhsv(319, 90%, 20%)
CMYKcmyk(0%, 90.4%, 28.8%, 79.6%)
CIE-LABlab(8.76, 26.66, -8.66)
CIE-LCHlch(8.76, 28.03, 342.01°)
OKLaboklab(22.46% 0.0807 -0.0231)
OKLCHoklch(22.46% 0.084 344)
XYZxyz(1.8044, 0.9724, 1.8426)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340525 #053414
analogous
#2B0534 #340525 #34050D
triadic
#340525 #253405 #052534
tetradic
#340525 #342B05 #053414 #050D34
square
#340525 #342B05 #053414 #050D34
split-complementary
#340525 #0D3405 #05342B
monochromatic
#1C0314 #1C0314 #340525 #6C0A4D #A41074

Accessibility & contrast

On white

17.58
#340525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340525
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340525#FFFFFF#000000##FFFFFF
##3405251.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1426
Deuteranopia (green-blind)
#191C24
Tritanopia (blue-blind)
#380514
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340525;
/* rgb */ color: rgb(52, 5, 37);
/* oklch */ color: oklch(22.5% 0.084 344.0);
Tailwind
colors: {
  custom: {
    50: '#6e4a5f',
    500: '#340525',
    950: '#000000',
  },
}
SCSS
$custom: #340525;
$custom-light: #6e4a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340525",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 319.149,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22459,
    "c": 0.08392,
    "h": 344
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#340525
secondary
#1F753B
accent
#F96F2F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340525

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

Preview Lab → · Contrast checker → · Palette generator →

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