#340726#340726

#340726 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.081 H 343.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340726
RGBrgb(52, 7, 38)
HSLhsl(319, 76%, 12%)
HSVhsv(319, 87%, 20%)
CMYKcmyk(0%, 86.5%, 26.9%, 79.6%)
CIE-LABlab(9.18, 25.79, -8.77)
CIE-LCHlch(9.18, 27.24, 341.21°)
OKLaboklab(22.78% 0.0777 -0.0235)
OKLCHoklch(22.78% 0.081 343.2)
XYZxyz(1.8421, 1.0222, 1.9336)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340726 #073415
analogous
#2C0734 #340726 #340710
triadic
#340726 #263407 #072634
tetradic
#340726 #342C07 #073415 #071034
square
#340726 #342C07 #073415 #071034
split-complementary
#340726 #103407 #07342C
monochromatic
#1B0414 #1B0414 #340726 #6A0E4D #A01675

Accessibility & contrast

On white

17.44
#340726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340726
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340726#FFFFFF#000000##FFFFFF
##3407261.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1527
Deuteranopia (green-blind)
#1A1D25
Tritanopia (blue-blind)
#380715
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340726;
/* rgb */ color: rgb(52, 7, 38);
/* oklch */ color: oklch(22.8% 0.081 343.2);
Tailwind
colors: {
  custom: {
    50: '#6e4b60',
    500: '#340726',
    950: '#000000',
  },
}
SCSS
$custom: #340726;
$custom-light: #6e4b60;
$custom-dark: #000000;
JSON
{
  "hex": "#340726",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 318.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22778,
    "c": 0.08118,
    "h": 343.2
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#340726
secondary
#23743C
accent
#F37035
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340726

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

Preview Lab → · Contrast checker → · Palette generator →

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