#340725#340725

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

Color values

HEX#340725
RGBrgb(52, 7, 37)
HSLhsl(320, 76%, 12%)
HSVhsv(320, 87%, 20%)
CMYKcmyk(0%, 86.5%, 28.8%, 79.6%)
CIE-LABlab(9.12, 25.63, -8.10)
CIE-LCHlch(9.12, 26.88, 342.46°)
OKLaboklab(22.72% 0.0775 -0.0216)
OKLCHoklch(22.72% 0.08 344.4)
XYZxyz(1.8262, 1.0158, 1.8498)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340725 #073416
analogous
#2D0734 #340725 #34070F
triadic
#340725 #253407 #072534
tetradic
#340725 #342D07 #073416 #070F34
square
#340725 #342D07 #073416 #070F34
split-complementary
#340725 #0F3407 #07342D
monochromatic
#1B0413 #1B0413 #340725 #6A0E4B #A01672

Accessibility & contrast

On white

17.45
#340725 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340725
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340725#FFFFFF#000000##FFFFFF
##3407251.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340725;
/* rgb */ color: rgb(52, 7, 37);
/* oklch */ color: oklch(22.7% 0.080 344.4);
Tailwind
colors: {
  custom: {
    50: '#6e4b5f',
    500: '#340725',
    950: '#000000',
  },
}
SCSS
$custom: #340725;
$custom-light: #6e4b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340725",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 37
  },
  "hsl": {
    "h": 320,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22723,
    "c": 0.08043,
    "h": 344.4
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#340725
secondary
#23743E
accent
#F37435
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340725

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

Preview Lab → · Contrast checker → · Palette generator →

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