#340823#340823

#340823 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.077 H 347.3°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#340823
RGBrgb(52, 8, 35)
HSLhsl(323, 73%, 12%)
HSVhsv(323, 85%, 20%)
CMYKcmyk(0%, 84.6%, 32.7%, 79.6%)
CIE-LABlab(9.20, 24.81, -6.46)
CIE-LCHlch(9.20, 25.64, 345.40°)
OKLaboklab(22.75% 0.0754 -0.0171)
OKLCHoklch(22.75% 0.077 347.3)
XYZxyz(1.8065, 1.0253, 1.6925)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340823 #083419
analogous
#2F0834 #340823 #34080D
triadic
#340823 #233408 #082334
tetradic
#340823 #342F08 #083419 #080D34
square
#340823 #342F08 #083419 #080D34
split-complementary
#340823 #0D3408 #08342F
monochromatic
#1B0412 #1B0412 #340823 #691047 #9E186A

Accessibility & contrast

On white

17.43
#340823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340823
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340823#FFFFFF#000000##FFFFFF
##3408231.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1524
Deuteranopia (green-blind)
#1B1D22
Tritanopia (blue-blind)
#380714
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340823;
/* rgb */ color: rgb(52, 8, 35);
/* oklch */ color: oklch(22.7% 0.077 347.3);
Tailwind
colors: {
  custom: {
    50: '#6e4c5d',
    500: '#340823',
    950: '#000000',
  },
}
SCSS
$custom: #340823;
$custom-light: #6e4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340823",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 35
  },
  "hsl": {
    "h": 323.182,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22747,
    "c": 0.07731,
    "h": 347.3
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#340823
secondary
#257343
accent
#F07F38
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340823

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

Preview Lab → · Contrast checker → · Palette generator →

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