#4A0F23#4A0F23

#4A0F23 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.090 H 4.7°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4A0F23
RGBrgb(74, 15, 35)
HSLhsl(340, 66%, 17%)
HSVhsv(340, 80%, 29%)
CMYKcmyk(0%, 79.7%, 52.7%, 71%)
CIE-LABlab(15.06, 29.22, 2.73)
CIE-LCHlch(15.06, 29.35, 5.33°)
OKLaboklab(27.94% 0.0893 0.0073)
OKLCHoklch(27.94% 0.09 4.7)
XYZxyz(3.2985, 1.9193, 1.7865)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F23 #0F4A36
analogous
#4A0F41 #4A0F23 #4A190F
triadic
#4A0F23 #234A0F #0F234A
tetradic
#4A0F23 #414A0F #0F4A36 #190F4A
square
#4A0F23 #414A0F #0F4A36 #190F4A
split-complementary
#4A0F23 #0F4A19 #0F414A
monochromatic
#19050C #19050C #4A0F23 #7D193B #B02453

Accessibility & contrast

On white

15.18
#4A0F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4A0F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F23
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F23#FFFFFF#000000##FFFFFF
##4A0F231.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E23
Deuteranopia (green-blind)
#2C2A22
Tritanopia (blue-blind)
#510517
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0f23;
/* rgb */ color: rgb(74, 15, 35);
/* oklch */ color: oklch(27.9% 0.090 4.7);
Tailwind
colors: {
  custom: {
    50: '#80535d',
    500: '#4a0f23',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f23;
$custom-light: #80535d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f23",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 339.661,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27936,
    "c": 0.08962,
    "h": 4.7
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#4A0F23
secondary
#308468
accent
#E9AF3F
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4A0F23

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

Preview Lab → · Contrast checker → · Palette generator →

#4A0F23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva