#512F15#512F15

#512F15 is a dark, moderate orange. Relative luminance 0.038; OKLCH L 34.2% C 0.063 H 56.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#512F15
RGBrgb(81, 47, 21)
HSLhsl(26, 59%, 20%)
HSVhsv(26, 74%, 32%)
CMYKcmyk(0%, 42%, 74.1%, 68.2%)
CIE-LABlab(23.12, 12.85, 22.82)
CIE-LCHlch(23.12, 26.19, 60.62°)
OKLaboklab(34.21% 0.0353 0.0522)
OKLCHoklch(34.21% 0.063 56)
XYZxyz(4.5456, 3.8369, 1.2105)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F15 #153751
analogous
#511519 #512F15 #514D15
triadic
#512F15 #15512F #2F1551
tetradic
#512F15 #195115 #153751 #4D1551
square
#512F15 #195115 #153751 #4D1551
split-complementary
#512F15 #15514D #151951
monochromatic
#180E06 #201308 #512F15 #824B22 #B2672E

Accessibility & contrast

On white

11.88
#512F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#512F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F15
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F15#FFFFFF#000000##FFFFFF
##512F151.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393312
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#592829
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512f15;
/* rgb */ color: rgb(81, 47, 21);
/* oklch */ color: oklch(34.2% 0.063 56.0);
Tailwind
colors: {
  custom: {
    50: '#856753',
    500: '#512f15',
    950: '#000000',
  },
}
SCSS
$custom: #512f15;
$custom-light: #856753;
$custom-dark: #000000;
JSON
{
  "hex": "#512f15",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 21
  },
  "hsl": {
    "h": 26,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.06302,
    "h": 56
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#512F15
secondary
#396689
accent
#9EE246
background
#F8F6F4
surface
#F0EBE7
border
#CBC6C3
text
#0B0602
muted
#7C7A78

Preview Lab

Preview with #512F15

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

Preview Lab → · Contrast checker → · Palette generator →

#512F15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva