#51202F#51202F

#51202F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.0% C 0.075 H 3.1°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#51202F
RGBrgb(81, 32, 47)
HSLhsl(342, 43%, 22%)
HSVhsv(342, 60%, 32%)
CMYKcmyk(0%, 60.5%, 42%, 68.2%)
CIE-LABlab(20.00, 24.69, 1.44)
CIE-LCHlch(20.00, 24.73, 3.33°)
OKLaboklab(32% 0.0752 0.004)
OKLCHoklch(32% 0.075 3.1)
XYZxyz(4.4232, 2.9880, 3.0326)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51202F #205142
analogous
#512048 #51202F #512A20
triadic
#51202F #2F5120 #202F51
tetradic
#51202F #485120 #205142 #2A2051
square
#51202F #485120 #205142 #2A2051
split-complementary
#51202F #20512A #204851
monochromatic
#16090D #250F16 #51202F #7D3148 #A94362

Accessibility & contrast

On white

13.14
#51202F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#51202F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51202F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51202F#FFFFFF#000000##FFFFFF
##51202F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2F
Deuteranopia (green-blind)
#35342E
Tritanopia (blue-blind)
#581B26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #51202f;
/* rgb */ color: rgb(81, 32, 47);
/* oklch */ color: oklch(32.0% 0.075 3.1);
Tailwind
colors: {
  custom: {
    50: '#845e67',
    500: '#51202f',
    950: '#000000',
  },
}
SCSS
$custom: #51202f;
$custom-light: #845e67;
$custom-dark: #000000;
JSON
{
  "hex": "#51202f",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 47
  },
  "hsl": {
    "h": 341.633,
    "s": 43.363,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32002,
    "c": 0.07529,
    "h": 3.1
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#51202F
secondary
#478572
accent
#D3AC55
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #51202F

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

Preview Lab → · Contrast checker → · Palette generator →

#51202F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva